aboutsummaryrefslogtreecommitdiffstats
path: root/src/rope.rs
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2024-01-06 13:57:32 -0800
committerRose Hogenson <rosehogenson@posteo.net>2024-01-06 13:57:32 -0800
commit9ac429aa26529af2f753d01fe6e4fe5046bdf30f (patch)
tree619b89a172a65701735ffff2cd658d04312357f3 /src/rope.rs
parent94626edd6df13d2bcac561f99334a075b1ac8941 (diff)
downloadeditor-9ac429aa26529af2f753d01fe6e4fe5046bdf30f.tar.zst
Implement backspace.
Diffstat (limited to 'src/rope.rs')
-rw-r--r--src/rope.rs2
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();
}