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

+2 -2
View File
@@ -337,8 +337,8 @@ impl HtmlEventConverter for SerializedHtmlEventConverter {
.into()
}
fn convert_mounted_data(&self, event: &PlatformEventData) -> MountedData {
event.downcast::<()>().cloned().unwrap().into()
fn convert_mounted_data(&self, _: &PlatformEventData) -> MountedData {
MountedData::from(())
}
fn convert_mouse_data(&self, event: &PlatformEventData) -> MouseData {