aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-03-25 14:40:33 +0100
committerGitHub <noreply@github.com>2024-03-25 14:40:33 +0100
commitae09a481dda0e4b7281619bc5cd394ddd018f27e (patch)
treef934db1be35efb5ba0ed6fb3ea1268861dec473d
parentc74179b6d53b8549da6ea5bb6a9d22f0379ed826 (diff)
downloadFlightCore-ae09a481dda0e4b7281619bc5cd394ddd018f27e.tar.gz
FlightCore-ae09a481dda0e4b7281619bc5cd394ddd018f27e.zip
fix: Remove unused struct (#866)
also addresses clippy issue in the process
-rw-r--r--src-tauri/src/main.rs11
1 files changed, 2 insertions, 9 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 0654d626..8af76de7 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -3,11 +3,7 @@
windows_subsystem = "windows"
)]
-use std::{
- env,
- sync::{Arc, Mutex},
- time::Duration,
-};
+use std::{env, time::Duration};
mod constants;
mod development;
@@ -42,9 +38,6 @@ pub struct NorthstarThunderstoreReleaseWrapper {
value: NorthstarThunderstoreRelease,
}
-#[derive(Default)]
-struct Counter(Arc<Mutex<i32>>);
-
fn main() {
// Setup logger
let mut log_builder = pretty_env_logger::formatted_builder();
@@ -114,7 +107,7 @@ fn main() {
Ok(())
})
- .manage(Counter(Default::default()))
+ .manage(())
.invoke_handler(tauri::generate_handler![
development::install_git_main,
github::compare_tags,