From ba16211ea1aca7b0c9845c62ebee2170c4e0b809 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sun, 2 Feb 2025 17:01:13 -0300 Subject: [PATCH] lint --- plugins/updater/src/updater.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs index 2d656fc4..f9209a00 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -99,6 +99,7 @@ type RunOnMainThread = Box std::result::Result<(), tauri::Error> + Send + Sync + 'static>; pub struct UpdaterBuilder { + #[allow(dead_code)] run_on_main_thread: RunOnMainThread, app_name: String, current_version: Version, @@ -298,6 +299,7 @@ impl UpdaterBuilder { } pub struct Updater { + #[allow(dead_code)] run_on_main_thread: Arc, config: Config, app_name: String, @@ -449,6 +451,7 @@ impl Updater { #[derive(Clone)] pub struct Update { + #[allow(dead_code)] run_on_main_thread: Arc, config: Config, #[allow(unused)]