From 6299b418f51492297aa2d8399defa38bedbdbca5 Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Thu, 9 Feb 2023 00:33:54 +0800 Subject: [PATCH] typo --- src/uu/rm/src/rm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/rm/src/rm.rs b/src/uu/rm/src/rm.rs index 39b177bcf..ec09181e9 100644 --- a/src/uu/rm/src/rm.rs +++ b/src/uu/rm/src/rm.rs @@ -457,7 +457,7 @@ fn prompt_file(path: &Path, options: &Options, is_dir: bool) -> bool { } if is_dir { // We can't use metadata.permissions.readonly for directories because it only works on files - // So we have to handle wether a directory is writable on not manually + // So we have to handle whether a directory is writable on not manually if let Ok(metadata) = fs::metadata(path) { handle_writable_directory(path, options, &metadata) } else {