This doesn't need to be mut

This commit is contained in:
Blaž Hrastnik 2022-03-22 13:02:46 +09:00
parent 9a6ee88e66
commit 83b3272166
No known key found for this signature in database
GPG key ID: 1238B9C4AD889640

View file

@ -593,7 +593,7 @@ fn render(&mut self, area: Rect, surface: &mut Surface, cx: &mut Context) {
let files = self
.matches
.iter_mut()
.iter()
.skip(offset)
.map(|(index, _score)| (*index, self.options.get(*index).unwrap()));