on master help sign in
This doesn't need to be mut
83b3272Blaž Hrastnik
helix-term/src/ui/picker.rs+1−1
@@ -593,7 +593,7 @@ impl<T: 'static> Component for Picker<T> {
593
593
594 let files = self
594 let files = self
595 .matches
595 .matches
596− .iter_mut()
596+ .iter()
597 .skip(offset)
597 .skip(offset)
598 .map(|(index, _score)| (*index, self.options.get(*index).unwrap()));
598 .map(|(index, _score)| (*index, self.options.get(*index).unwrap()));
599
599