aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui/mod.rs')
-rw-r--r--helix-term/src/ui/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs
index a6adbe8d..2a4d246d 100644
--- a/helix-term/src/ui/mod.rs
+++ b/helix-term/src/ui/mod.rs
@@ -155,9 +155,7 @@ pub mod completers {
let mut matches: Vec<_> = names
.into_iter()
.filter_map(|(range, name)| {
- matcher
- .fuzzy_match(&name, &input)
- .map(|score| (name, score))
+ matcher.fuzzy_match(&name, input).map(|score| (name, score))
})
.collect();