1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-01 05:27:45 +00:00

truncate clippy fix.

This commit is contained in:
David CARLIER 2023-09-07 20:48:26 +01:00
parent 80f8eb6724
commit e3f6fd3c3f

View file

@ -102,7 +102,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
.unwrap_or_default();
if files.is_empty() {
return Err(UUsageError::new(1, "missing file operand"));
Err(UUsageError::new(1, "missing file operand"))
} else {
let io_blocks = matches.get_flag(options::IO_BLOCKS);
let no_create = matches.get_flag(options::NO_CREATE);