From b635e35818b96ff357ceeeac68451836da69aec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Fri, 13 Aug 2021 13:16:31 +0900 Subject: [PATCH] Appease clippy --- helix-core/src/indent.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs index 9489baa77..f5f36acac 100644 --- a/helix-core/src/indent.rs +++ b/helix-core/src/indent.rs @@ -330,8 +330,7 @@ pub fn get_scopes(syntax: Option<&Syntax>, text: RopeSlice, pos: usize) -> Vec<& } scopes.reverse(); - - return scopes; + scopes } #[cfg(test)]