mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 20:17:45 +00:00
refactor/polish ~ fix cargo clippy
complaints (allow ptr_arg)
This commit is contained in:
parent
e80970cb92
commit
b8c0711273
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
|||
};
|
||||
|
||||
let paths: Vec<PathBuf> = {
|
||||
#[allow(clippy::ptr_arg)]
|
||||
fn string_to_path(s: &String) -> &Path {
|
||||
Path::new(s)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue