diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-09-12 17:18:30 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-09-12 17:18:30 +0200 |
commit | 57c3cda9f98e70a9f614a22eb6d518051cc60b19 (patch) | |
tree | 7067e1f12cc8ca3c8002ae509f3b327d84b2ac04 /src/event.rs | |
parent | f7d7507af61a0f253fdb50cecd20885b72d16b13 (diff) | |
download | markdown-rs-57c3cda9f98e70a9f614a22eb6d518051cc60b19.tar.gz markdown-rs-57c3cda9f98e70a9f614a22eb6d518051cc60b19.tar.bz2 markdown-rs-57c3cda9f98e70a9f614a22eb6d518051cc60b19.zip |
Fix gfm email autolink literals overlapping
Diffstat (limited to '')
-rw-r--r-- | src/event.rs | 2 |
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] { |