Skip to content

Commit 8c0c8a1

Browse files
cakebakerRenjiSann
authored andcommitted
mkdir: remove #[allow(unused_variables)]
1 parent 80de3ae commit 8c0c8a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/uu/mkdir/src/mkdir.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ fn chmod(_path: &Path, _mode: u32) -> UResult<()> {
218218

219219
// Create a directory at the given path.
220220
// Uses iterative approach instead of recursion to avoid stack overflow with deep nesting.
221-
#[allow(unused_variables)]
222221
fn create_dir(path: &Path, is_parent: bool, config: &Config) -> UResult<()> {
223222
let path_exists = path.exists();
224223
if path_exists && !config.recursive {

0 commit comments

Comments
 (0)