Skip to content

Commit

Permalink
correct clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aawsome committed Aug 14, 2023
1 parent edcd2df commit 5c9d85c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/rustic_core/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ pub enum FileType {
impl FileType {
const fn dirname(self) -> &'static str {
match self {
FileType::Config => "config",
FileType::Snapshot => "snapshots",
FileType::Index => "index",
FileType::Key => "keys",
FileType::Pack => "data",
Self::Config => "config",
Self::Snapshot => "snapshots",
Self::Index => "index",
Self::Key => "keys",
Self::Pack => "data",
}
}

Expand Down

0 comments on commit 5c9d85c

Please sign in to comment.