diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-01-06 13:57:32 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-01-06 13:57:32 -0800 |
| commit | 9ac429aa26529af2f753d01fe6e4fe5046bdf30f (patch) | |
| tree | 619b89a172a65701735ffff2cd658d04312357f3 /src/rope.rs | |
| parent | 94626edd6df13d2bcac561f99334a075b1ac8941 (diff) | |
| download | editor-9ac429aa26529af2f753d01fe6e4fe5046bdf30f.tar.zst | |
Implement backspace.
Diffstat (limited to 'src/rope.rs')
| -rw-r--r-- | src/rope.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rope.rs b/src/rope.rs index 7d00dcd..25da1fc 100644 --- a/src/rope.rs +++ b/src/rope.rs @@ -124,7 +124,7 @@ impl Rope { } } - fn concat(&self, other: &Rope) -> Rope { + pub fn concat(&self, other: &Rope) -> Rope { if self.len() == 0 { return other.clone(); } |
