aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 6ea52fb..de3f95f 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -3424,7 +3424,7 @@ impl Point {
/// point, to `index.`
pub fn shift_to(&self, bytes: &[u8], index: usize) -> Point {
let mut next = self.clone();
- debug_assert!(index > next.index, "expect");
+ debug_assert!(index > next.index, "expected to shift forward");
while next.index < index {
match bytes[next.index] {