From 2437bc1407ba9ce71dffa83ca62a1b6819bd8269 Mon Sep 17 00:00:00 2001 From: khang Date: Fri, 20 Sep 2024 08:59:48 -0400 Subject: [PATCH] clippy --- src/gui/programs/waddy.rs | 1 + src/persistent_storage.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gui/programs/waddy.rs b/src/gui/programs/waddy.rs index 23fd005..a802548 100644 --- a/src/gui/programs/waddy.rs +++ b/src/gui/programs/waddy.rs @@ -48,6 +48,7 @@ struct SearchBar { has_focus: bool, } +#[allow(clippy::derivable_impls)] impl Default for SearchBar { fn default() -> Self { Self { diff --git a/src/persistent_storage.rs b/src/persistent_storage.rs index 72c6834..a77c60c 100644 --- a/src/persistent_storage.rs +++ b/src/persistent_storage.rs @@ -29,6 +29,7 @@ impl PersistentStorage { Err(_) => PathBuf::from(PERSISTENT_STORAGE_FILE_NAME), }; + #[allow(clippy::suspicious_open_options)] let mut file = OpenOptions::new() .create(true) .write(true)