From 8a3ec443f176218384db8c8610bbada9c43a6ea5 Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Thu, 9 Feb 2023 23:27:08 +0100 Subject: Fix new clippy lints (#5892) --- helix-term/src/ui/fuzzy_match.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/ui/fuzzy_match.rs') diff --git a/helix-term/src/ui/fuzzy_match.rs b/helix-term/src/ui/fuzzy_match.rs index e6a3f03a..b406702f 100644 --- a/helix-term/src/ui/fuzzy_match.rs +++ b/helix-term/src/ui/fuzzy_match.rs @@ -25,7 +25,7 @@ impl QueryAtom { _ => QueryAtomKind::Fuzzy, }; - if atom.starts_with(&['^', '\'']) { + if atom.starts_with(['^', '\'']) { atom.remove(0); } -- cgit v1.2.3-70-g09d2