diff options
Diffstat (limited to 'helix-core/src/transaction.rs')
-rw-r--r-- | helix-core/src/transaction.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helix-core/src/transaction.rs b/helix-core/src/transaction.rs index fec62578..1cea6911 100644 --- a/helix-core/src/transaction.rs +++ b/helix-core/src/transaction.rs @@ -389,7 +389,10 @@ impl ChangeSet { } let Some((i, change)) = iter.next() else { - map!(|pos, _| (old_pos == pos).then_some(new_pos), self.changes.len()); + map!( + |pos, _| (old_pos == pos).then_some(new_pos), + self.changes.len() + ); break; }; |