diff --git a/helix-core/src/movement.rs b/helix-core/src/movement.rs index 02e5b8bff..ed71b02a5 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)]