From 9dfd6f6bbcdc38491b20c37c7b24d83aacf194d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= <blaz@mxxn.io>
Date: Tue, 6 Apr 2021 20:00:35 +0900
Subject: [PATCH] clippy lint

---
 helix-core/src/movement.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)]