diff options
author | Blaž Hrastnik | 2021-04-06 11:00:35 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-04-06 11:00:35 +0000 |
commit | 9dfd6f6bbcdc38491b20c37c7b24d83aacf194d7 (patch) | |
tree | 47e110dad01f9b813ce91d805b494e4e15d1729e /helix-core | |
parent | 0e9ecccfc12f4972360b516bd56222894f315d58 (diff) |
clippy lint
Diffstat (limited to 'helix-core')
-rw-r--r-- | helix-core/src/movement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/movement.rs b/helix-core/src/movement.rs index 02e5b8bf..ed71b02a 100644 --- a/helix-core/src/movement.rs +++ b/helix-core/src/movement.rs @@ -230,7 +230,7 @@ where } *pos = pos.saturating_sub(1); } - return fun(slice.char(*pos)); + fun(slice.char(*pos)) } #[cfg(test)] |