clippy fix

This commit is contained in:
Evan Almloff committed 2024-01-09 11:02:07 -06:00
1 parent 41abffb267
commit 967c082085
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -369,7 +369,7 @@ impl VirtualDom {
| <-- no, broke early
*/
let parent_path = match self.elements.get(element.0) {
Some(Some(el)) => el.clone(),
Some(Some(el)) => *el,
_ => return,
};
let mut parent_node = Some(parent_path);