fix the clippy warning

This commit is contained in:
Sylvestre Ledru
2021-07-04 12:03:36 +02:00
committed by GitHub
parent 23f5f55560
commit 38c0880989
+1 -1
View File
@@ -79,7 +79,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
print!("{}", separator);
}
} else {
return Err(USimpleError::new(1, format!("missing operand")));
return Err(UUsageError::new(1, "missing operand".to_string()));
}
Ok(())