mirror of
https://github.com/danbulant/cushy
synced 2026-07-05 19:20:36 +00:00
Fix clippy warning
This commit is contained in:
parent
d739ef1b79
commit
be483a92bd
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ impl Tree {
|
||||||
// For any widgets that were shared, remove them, as they don't
|
// For any widgets that were shared, remove them, as they don't
|
||||||
// need to have their events fired again.
|
// need to have their events fired again.
|
||||||
let mut new_index = 0;
|
let mut new_index = 0;
|
||||||
while !old_hovered.is_empty() && old_hovered.get(0) == hovered.get(new_index) {
|
while !old_hovered.is_empty() && old_hovered.first() == hovered.get(new_index) {
|
||||||
old_hovered.remove(0);
|
old_hovered.remove(0);
|
||||||
new_index += 1;
|
new_index += 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue