diff options
author | Blaž Hrastnik | 2021-06-27 04:27:35 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-27 04:27:47 +0000 |
commit | cad14c6b46413b23d3afee7c979eeb0dbd4fb84c (patch) | |
tree | bb50d665f233f2eb7589ad75f65c6266b42eb87d /helix-term/src/ui/mod.rs | |
parent | ed1a745442a88804fd193a8a5d946377516cf39d (diff) |
Address nightly clippy warnings
Diffstat (limited to 'helix-term/src/ui/mod.rs')
-rw-r--r-- | helix-term/src/ui/mod.rs | 4 |
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(); |