diff options
author | Blaž Hrastnik | 2022-03-22 04:02:46 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-28 02:02:07 +0000 |
commit | 83b3272166013a7c394fb41dca172042e3229ab4 (patch) | |
tree | dc1d6f780a2e85370ceb9704c39beccfc321414f /helix-term/src | |
parent | 9a6ee88e66d29f7158150bab2045e3a5d3ba3ea7 (diff) |
This doesn't need to be mut
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/ui/picker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index 3f2da92f..e5498583 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -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())); |