1
Fork 0
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:
Roy Ivy III 2019-12-29 21:40:44 -06:00
parent e80970cb92
commit b8c0711273

View file

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