aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-06 11:00:35 +0000
committerBlaž Hrastnik2021-04-06 11:00:35 +0000
commit9dfd6f6bbcdc38491b20c37c7b24d83aacf194d7 (patch)
tree47e110dad01f9b813ce91d805b494e4e15d1729e /helix-core
parent0e9ecccfc12f4972360b516bd56222894f315d58 (diff)
clippy lint
Diffstat (limited to 'helix-core')
-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)]