diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/edit_map.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/edit_map.rs b/src/util/edit_map.rs index ebc20b7..ae627c1 100644 --- a/src/util/edit_map.rs +++ b/src/util/edit_map.rs @@ -128,7 +128,9 @@ impl EditMap { } if start < events.len() { - next_events.append(&mut events[start..].to_vec()); + let append = &mut events[start..].to_vec(); + shift_links(append, &jumps); + next_events.append(append); } next_events |