pass clippy

This commit is contained in:
Evan Almloff committed 2022-05-04 14:37:30 -05:00
1 parent dd7784d205
commit 5d5e7f55fd
3 files changed
+53 -52

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ impl PersistantElementIter {
} else {
*o_child_idx = o_child_idx.map(|i| i - 1);
if let NodePosition::InChild(child_idx) = o_child_idx {
if *child_idx >= children.len() || children.len() == 0 {
if *child_idx >= children.len() || children.is_empty() {
self.pop();
self.prev(rdom)
} else {