mirror of https://github.com/helix-editor/helix
This doesn't need to be mut
parent
9a6ee88e66
commit
83b3272166
|
@ -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()));
|
||||
|
||||
|
|
Loading…
Reference in New Issue