mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-04 15:07:47 +00:00
refactor/polish ~ fix cargo clippy
complaints ('better' ref use/toplevel_ref_arg)
This commit is contained in:
parent
58779be6bb
commit
37c9b0e331
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
|||
);
|
||||
return 1;
|
||||
}
|
||||
let ref formatstr = args[1];
|
||||
let formatstr = &args[1];
|
||||
|
||||
if formatstr == "--help" {
|
||||
print!("{} {}", LONGHELP_LEAD, LONGHELP_BODY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue