Remove small pieces of unused code

This commit is contained in:
Max Brunsfeld
2021-04-02 14:26:53 -07:00
parent ce6ca13b13
commit dd31b870c3
10 changed files with 6 additions and 31 deletions
-4
View File
@@ -1650,10 +1650,6 @@ impl Fragment {
self.text = self.insertion.text.slice(self.start_offset()..offset);
}
fn as_str(&self) -> &str {
self.text.as_str()
}
fn visible_len(&self) -> usize {
if self.is_visible() {
self.len()