From 83b3272166013a7c394fb41dca172042e3229ab4 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 22 Mar 2022 13:02:46 +0900 Subject: This doesn't need to be mut --- helix-term/src/ui/picker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index 3f2da92f..e5498583 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -593,7 +593,7 @@ impl Component for Picker { let files = self .matches - .iter_mut() + .iter() .skip(offset) .map(|(index, _score)| (*index, self.options.get(*index).unwrap())); -- cgit v1.2.3-70-g09d2