aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-13 04:16:31 +0000
committerBlaž Hrastnik2021-08-13 04:16:31 +0000
commitb635e35818b96ff357ceeeac68451836da69aec4 (patch)
treef22a4cadd490fc30a7c42e41378ac539d3fa5c13
parentfd1eaafff57fb40dd0e504c3d5fd5e8abe14b5f5 (diff)
Appease clippy
-rw-r--r--helix-core/src/indent.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs
index 9489baa7..f5f36aca 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)]