diff options
Diffstat (limited to 'src/rope.rs')
| -rw-r--r-- | src/rope.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rope.rs b/src/rope.rs index 3a01e8b..be56568 100644 --- a/src/rope.rs +++ b/src/rope.rs @@ -57,6 +57,7 @@ impl Node { } fn print_line(&self, out: &mut dyn Write, n: usize) -> Result<(), std::io::Error> { + // TODO: escape unprintable characters match self { Node::Leaf(v) => { let mut nl_count = 0; @@ -149,6 +150,7 @@ impl Rope { } rope = rope.concat(Rope(Rc::new(Node::Leaf(buf)))); } + // TODO: rebalance return Ok(rope); } |
