summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyohei Uto <im@kyoheiu.dev>2023-08-01 04:39:25 +0900
committerKyohei Uto <im@kyoheiu.dev>2023-08-01 04:39:25 +0900
commitb87d6bb5a8da5086056280f0199f4bc244e80cf5 (patch)
tree0f0c45f257274e8a70bc80e161e4b66faf0c455c
parenta0fc996c32c379aeb41134c874d1cbc8347b104e (diff)
clippy 1.71.0
-rw-r--r--src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index 071ae23..b15d4c8 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -1288,7 +1288,7 @@ impl State {
/// Reset all item's selected state and exit the select mode.
pub fn reset_selection(&mut self) {
- for mut item in self.list.iter_mut() {
+ for item in self.list.iter_mut() {
item.selected = false;
}
self.v_start = None;