chore: clean up some clippy stuff

This commit is contained in:
Jonathan Kelley committed 2022-07-03 00:11:28 -04:00
1 parent 2884d72b08
commit 94004cfe19
8 files changed
+117 -134

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
//! # VirtualDom Implementation for Rust
//! # Virtual DOM Implementation for Rust
//!
//! This module provides the primary mechanics to create a hook-based, concurrent VDOM for Rust.
@@ -387,7 +387,7 @@ impl VirtualDom {
}
SchedulerMsg::Event(event) => {
if let Some(element) = event.element {
self.scopes.call_listener_with_bubbling(event, element);
self.scopes.call_listener_with_bubbling(&event, element);
}
}
SchedulerMsg::Immediate(s) => {