Merge pull request #5259 from devnexen/truncate_clippy_fix

truncate clippy fix.
This commit is contained in:
Daniel Hofstetter 2023-09-08 07:07:03 +02:00 committed by GitHub
commit e2614796ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);