From 9ac429aa26529af2f753d01fe6e4fe5046bdf30f Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 6 Jan 2024 13:57:32 -0800 Subject: Implement backspace. --- src/rope.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rope.rs') 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(); } -- cgit v1.3.1