From 9dfd6f6bbcdc38491b20c37c7b24d83aacf194d7 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 6 Apr 2021 20:00:35 +0900 Subject: clippy lint --- helix-core/src/movement.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-core/src') 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)] -- cgit v1.2.3-70-g09d2