Просмотр исходного кода

fix clippy hinting around trait

Jonathan Kelley 2 лет назад
Родитель
Сommit
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")]
     {