clippy fixes

This commit is contained in:
Ashley Wulber 2023-12-04 10:14:50 -05:00 committed by Ashley Wulber
parent ad241c700a
commit 17bc373990
7 changed files with 16 additions and 16 deletions

View file

@ -478,7 +478,7 @@ where
let active_tree = &mut tree_children[active_root];
state.menu_states.iter().enumerate().fold(
(root, Vec::new()),
|(menu_root, mut nodes), (i, ms)| {
|(menu_root, mut nodes), (_i, ms)| {
let slice = ms.slice(bounds, overlay_offset, self.item_height);
let start_index = slice.start_index;
let end_index = slice.end_index;