summaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/picker.rs2
1 files changed, 1 insertions, 1 deletions
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<T: 'static> Component for Picker<T> {
let files = self
.matches
- .iter_mut()
+ .iter()
.skip(offset)
.map(|(index, _score)| (*index, self.options.get(*index).unwrap()));