瀏覽代碼

fix clippy warning

Chip Reed 2 年之前
父節點
當前提交
0c38bc9805
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/tauri/src/manager.rs

+ 1 - 1
core/tauri/src/manager.rs

@@ -1327,7 +1327,7 @@ impl<R: Runtime> WindowManager<R> {
       app_handle.clone(),
       web_resource_request_handler,
     )?;
-    pending.ipc_handler = Some(self.prepare_ipc_handler(app_handle.clone()));
+    pending.ipc_handler = Some(self.prepare_ipc_handler(app_handle));
 
     // in `Windows`, we need to force a data_directory
     // but we do respect user-specification