diff options
author | Philipp Mildenberger | 2023-07-27 02:57:19 +0000 |
---|---|---|
committer | GitHub | 2023-07-27 02:57:19 +0000 |
commit | 8a28f3059398eec7b5496bb1088b4d9870e6eb7e (patch) | |
tree | 77cf35ee489ed5367dc2a1ac8b4a0600530ded37 /helix-core/src/transaction.rs | |
parent | 262a595e5343c5afd0f2570859b63ebf4c12b0fa (diff) |
Reformat with nightly rustfmt for better let-else formatting (#7721)
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; }; |