Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
khanghugo committed Sep 20, 2024
1 parent c046ad0 commit 2437bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/programs/waddy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ struct SearchBar {
has_focus: bool,
}

#[allow(clippy::derivable_impls)]
impl Default for SearchBar {
fn default() -> Self {
Self {
Expand Down
1 change: 1 addition & 0 deletions src/persistent_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2437bc1

Please sign in to comment.