1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

fix lint error

This commit is contained in:
Smicry 2021-10-21 00:22:36 +08:00
parent 396fa7a9b4
commit b89b11f5da

View file

@ -455,7 +455,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
let args = match HeadOptions::get_from(args) {
Ok(o) => o,
Err(s) => {
return Err(USimpleError::new(1, s.to_string()));
return Err(USimpleError::new(1, s));
}
};
uu_head(&args)