cksum family: #[allow(clippy::unwrap_used)]

This commit is contained in:
oech3
2026-03-13 09:19:50 +01:00
committed by Daniel Hofstetter
parent 958c0d6dfe
commit 0f38c81c4a
+1 -1
View File
@@ -164,7 +164,7 @@ pub fn checksum_main(
let binary_flag = matches.get_flag(options::BINARY);
let tag = matches.get_flag(options::TAG);
// clap provides the default value -. So we unwrap() safety.
#[allow(clippy::unwrap_used, reason = "clap provides '-' by default")]
let files = matches
.get_many::<OsString>(options::FILE)
.unwrap()