Fix lint error

pull/997/head
Omnikar 3 years ago
parent 3d2e7ad429
commit 833e3e1a25
No known key found for this signature in database
GPG Key ID: 7DE6694CDA7885ED

@ -239,7 +239,7 @@ pub mod completers {
let mut matches: Vec<_> = commands let mut matches: Vec<_> = commands
.into_iter() .into_iter()
.map(|name| Cow::from(name)) .map(Cow::from)
.filter_map(|name| matcher.fuzzy_match(&name, input).map(|score| (name, score))) .filter_map(|name| matcher.fuzzy_match(&name, input).map(|score| (name, score)))
.collect(); .collect();

Loading…
Cancel
Save