Parcourir la source

fix clippy hinting around trait

Jonathan Kelley il y a 2 ans
Parent
commit
4abf996b86
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/desktop/src/lib.rs

+ 1 - 1
packages/desktop/src/lib.rs

@@ -442,7 +442,7 @@ fn send_edits(edits: Mutations, webview: &WebView) {
 }
 
 /// Different hide implementations per platform
-#[allow(unused_variables)]
+#[allow(unused)]
 fn hide_app_window(webview: &WebView) {
     #[cfg(target_os = "windows")]
     {