mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
cksum family: #[allow(clippy::unwrap_used)]
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user