mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
This doesn't need to be mut
This commit is contained in:
parent
9a6ee88e66
commit
83b3272166
@ -593,7 +593,7 @@ fn render(&mut self, area: Rect, surface: &mut Surface, cx: &mut Context) {
|
|||||||
|
|
||||||
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…
Reference in New Issue
Block a user