From 833e3e1a2521a9ec96b8754e6b3c44a476a69a78 Mon Sep 17 00:00:00 2001 From: Omnikar Date: Mon, 8 Nov 2021 06:11:04 -0500 Subject: [PATCH] Fix lint error --- helix-term/src/ui/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index aa572b8b6..fea4e8b74 100644 --- a/helix-term/src/ui/mod.rs +++ b/helix-term/src/ui/mod.rs @@ -239,7 +239,7 @@ pub mod completers { let mut matches: Vec<_> = commands .into_iter() - .map(|name| Cow::from(name)) + .map(Cow::from) .filter_map(|name| matcher.fuzzy_match(&name, input).map(|score| (name, score))) .collect();