Skip to content

Commit

Permalink
fix(types): changed BucketName default fn
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Jul 10, 2023
1 parent 1d9924c commit 2ea507c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,8 @@ impl Display for BucketName {
}

impl Default for BucketName {
#![allow(clippy::unwrap_used)]
fn default() -> BucketName {
#[allow(clippy::unwrap_used)]
BucketName::new("a").unwrap()
}
}
Expand Down

0 comments on commit 2ea507c

Please sign in to comment.