diff --git a/crates/tauri-runtime-wry/src/lib.rs b/crates/tauri-runtime-wry/src/lib.rs index 181abb3c6276..76c4b3200dbd 100644 --- a/crates/tauri-runtime-wry/src/lib.rs +++ b/crates/tauri-runtime-wry/src/lib.rs @@ -2559,6 +2559,7 @@ impl Runtime for Wry { pending, )?; + #[allow(clippy::manual_inspect)] self .context .main_thread @@ -3162,6 +3163,7 @@ fn handle_user_message( let _ = webview.print(); } WebviewMessage::Close => { + #[allow(clippy::manual_inspect)] windows.0.borrow_mut().get_mut(&window_id).map(|window| { if let Some(i) = window.webviews.iter().position(|w| w.id == webview.id) { window.webviews.remove(i); @@ -3372,6 +3374,7 @@ fn handle_user_message( if let Some(window) = window { match handler(&window) { Ok(webview) => { + #[allow(clippy::manual_inspect)] windows.0.borrow_mut().get_mut(&window_id).map(|w| { w.webviews.push(webview); w.has_children.store(true, Ordering::Relaxed);