From 83b3272166013a7c394fb41dca172042e3229ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 22 Mar 2022 13:02:46 +0900 Subject: [PATCH] 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 3f2da92fa..e54985833 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()));