aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/movement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/movement.rs')
-rw-r--r--helix-core/src/movement.rs2
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)]