This doesn't need to be mut

imgbot
Blaž Hrastnik 3 years ago
parent 9a6ee88e66
commit 83b3272166
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

@ -593,7 +593,7 @@ impl<T: 'static> Component for Picker<T> {
let files = self let files = self
.matches .matches
.iter_mut() .iter()
.skip(offset) .skip(offset)
.map(|(index, _score)| (*index, self.options.get(*index).unwrap())); .map(|(index, _score)| (*index, self.options.get(*index).unwrap()));

Loading…
Cancel
Save