Fix clippy::map_clone
lint violations (#36585)
#36577 Release Notes: - N/A
This commit is contained in:
parent
eaf6b56163
commit
92352f97ad
4 changed files with 4 additions and 3 deletions
|
@ -2108,7 +2108,7 @@ fn current_pointer_device_states(
|
|||
.classes
|
||||
.iter()
|
||||
.filter_map(|class| class.data.as_scroll())
|
||||
.map(|class| *class)
|
||||
.copied()
|
||||
.rev()
|
||||
.collect::<Vec<_>>();
|
||||
let old_state = scroll_values_to_preserve.get(&info.deviceid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue