From cbb85cf9be7c7f45d85b6863dd799cb5610a5649 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sat, 1 Nov 2025 14:25:43 +0100 Subject: [PATCH] mkdir: remove #[allow(unused_variables)] --- src/uu/mkdir/src/mkdir.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/uu/mkdir/src/mkdir.rs b/src/uu/mkdir/src/mkdir.rs index 485ec961630..a16be0c264f 100644 --- a/src/uu/mkdir/src/mkdir.rs +++ b/src/uu/mkdir/src/mkdir.rs @@ -218,7 +218,6 @@ fn chmod(_path: &Path, _mode: u32) -> UResult<()> { // Create a directory at the given path. // Uses iterative approach instead of recursion to avoid stack overflow with deep nesting. -#[allow(unused_variables)] fn create_dir(path: &Path, is_parent: bool, config: &Config) -> UResult<()> { let path_exists = path.exists(); if path_exists && !config.recursive {