瀏覽代碼

fix clippy hinting around trait

Jonathan Kelley 2 年之前
父節點
當前提交
4abf996b86
共有 1 個文件被更改,包括 1 次插入1 次删除
  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")]
     {