Merge pull request #3393 from uutils/sylvestre-patch-1

mkdir.rs: Fix a clippy warning on clippy::ptr-arg
This commit is contained in:
Sylvestre Ledru 2022-04-13 11:18:18 +02:00 committed by GitHub
commit 7d14961235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ fn get_mode(matches: &ArgMatches, mode_had_minus_prefix: bool) -> Result<u32, St
}
#[cfg(windows)]
fn strip_minus_from_mode(_args: &mut Vec<String>) -> bool {
fn strip_minus_from_mode(_args: &mut [String]) -> bool {
false
}