This doesn't need to be mut
commit83b3272166013a7c394fb41dca172042e3229ab4
authorBlaž Hrastnik <blaz@mxxn.io>
dateTue 22 Mar 2022, 13:02 (5 years ago)
parent9a6ee88
helix-term/src/ui/picker.rs+1−1
@@ -593,7 +593,7 @@ impl<T: 'static> Component for Picker<T> {
593593
594594 let files = self
595595 .matches
596− .iter_mut()
596+ .iter()
597597 .skip(offset)
598598 .map(|(index, _score)| (*index, self.options.get(*index).unwrap()));
599599