fix clippy

This commit is contained in:
Evan Almloff committed 2023-09-05 21:30:20 -05:00
1 parent bd38cddc9f
commit 0ab7a02777
3 files changed
+4 -7

No files matched your search

+1 -3
View File
@@ -60,9 +60,7 @@ fn events_generate() {
dom.handle_event(
"click",
Rc::new(PlatformEventData::new(Box::new(
SerializedMouseData::default(),
))),
Rc::new(PlatformEventData::new(Box::<SerializedMouseData>::default())),
ElementId(1),
true,
);