fix a few new clippy lints
This commit is contained in:
1 parent
de87ba6548
commit
3ac2346e46
2 files changed
+17
-18
No files matched your search
@@ -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>)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user