From cad14c6b46413b23d3afee7c979eeb0dbd4fb84c Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Sun, 27 Jun 2021 13:27:35 +0900 Subject: Address nightly clippy warnings --- helix-term/src/ui/menu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/ui/menu.rs') diff --git a/helix-term/src/ui/menu.rs b/helix-term/src/ui/menu.rs index f32ce01c..bf18b92b 100644 --- a/helix-term/src/ui/menu.rs +++ b/helix-term/src/ui/menu.rs @@ -80,7 +80,7 @@ impl Menu { let text = option.filter_text(); // TODO: using fuzzy_indices could give us the char idx for match highlighting matcher - .fuzzy_match(&text, pattern) + .fuzzy_match(text, pattern) .map(|score| (index, score)) }), ); -- cgit v1.2.3-70-g09d2