fix a few new clippy lints

This commit is contained in:
Evan Almloff committed 2023-08-25 07:54:04 -05:00
1 parent de87ba6548
commit 3ac2346e46
2 files changed
+17 -18

No files matched your search

+1
View File
@@ -392,6 +392,7 @@ fn read_input_to_data(target: Element) -> Rc<FormData> {
.dyn_ref()
.and_then(|input: &web_sys::HtmlInputElement| {
input.files().and_then(|files| {
#[allow(clippy::arc_with_non_send_sync)]
crate::file_engine::WebFileEngine::new(files)
.map(|f| std::sync::Arc::new(f) as std::sync::Arc<dyn dioxus_html::FileEngine>)
})