1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-31 13:07:46 +00:00

mkdir: add documentation for the use of allow attribute

This commit is contained in:
John Shin 2023-05-19 08:13:33 -07:00
parent f592dff46a
commit 9e8575dadd

View file

@ -179,6 +179,7 @@ fn chmod(_path: &Path, _mode: u32) -> UResult<()> {
Ok(())
}
// `is_parent` argument is not used on windows
#[allow(unused_variables)]
fn create_dir(path: &Path, recursive: bool, verbose: bool, is_parent: bool) -> UResult<()> {
if path.exists() && !recursive {