Skip to content

Commit 0f38c81

Browse files
oech3cakebaker
authored andcommitted
cksum family: #[allow(clippy::unwrap_used)]
1 parent 958c0d6 commit 0f38c81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/uu/checksum_common/src

src/uu/checksum_common/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub fn checksum_main(
164164
let binary_flag = matches.get_flag(options::BINARY);
165165
let tag = matches.get_flag(options::TAG);
166166

167-
// clap provides the default value -. So we unwrap() safety.
167+
#[allow(clippy::unwrap_used, reason = "clap provides '-' by default")]
168168
let files = matches
169169
.get_many::<OsString>(options::FILE)
170170
.unwrap()

0 commit comments

Comments
 (0)