We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80de3ae commit 8c0c8a1Copy full SHA for 8c0c8a1
src/uu/mkdir/src/mkdir.rs
@@ -218,7 +218,6 @@ fn chmod(_path: &Path, _mode: u32) -> UResult<()> {
218
219
// Create a directory at the given path.
220
// Uses iterative approach instead of recursion to avoid stack overflow with deep nesting.
221
-#[allow(unused_variables)]
222
fn create_dir(path: &Path, is_parent: bool, config: &Config) -> UResult<()> {
223
let path_exists = path.exists();
224
if path_exists && !config.recursive {
0 commit comments