Browse Source

fix clippy hinting around trait

Jonathan Kelley 2 năm trước cách đây
mục cha
commit
4abf996b86
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")]
     {