aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-13 04:16:31 +0000
committerBlaž Hrastnik2021-08-13 04:16:31 +0000
commitb635e35818b96ff357ceeeac68451836da69aec4 (patch)
treef22a4cadd490fc30a7c42e41378ac539d3fa5c13 /helix-core/src
parentfd1eaafff57fb40dd0e504c3d5fd5e8abe14b5f5 (diff)
Appease clippy
Diffstat (limited to 'helix-core/src')
-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)]