Less verbose fmt::Debug implementation for Rope
Closed this issue · 2 comments
hawkw commented
It would be nice to write a custom implementation of fmt::Debug
for Rope
that still displays the whole tree structure rather than just the text content, but is slightly less wordy.
hawkw commented
A pretty-print function that uses newlines and indentation to format the tree might also be nice for debugging, but I'm not sure if that should be the same as the fmt::Debug
implementation. It'd be cool to use Unicode box-drawing characters for that.