Change word
This commit is contained in:
parent
fddb14886e
commit
bf0b742329
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ where
|
||||||
deleted_text
|
deleted_text
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.is_none_or(|text| builder.get_slice(self.range()) == *text),
|
.is_none_or(|text| builder.get_slice(self.range()) == *text),
|
||||||
"Text to delete does not match the text in the rope"
|
"Text to delete does not match the text in the range"
|
||||||
);
|
);
|
||||||
|
|
||||||
builder.delete(self.range());
|
builder.delete(self.range());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue