From adc9b12f32c4656cde191544136995a01c5d16ba Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 25 Nov 2020 13:09:28 +0100 Subject: [PATCH] install: fix a typo --- src/uu/install/src/install.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/install/src/install.rs b/src/uu/install/src/install.rs index c92ef1bca..01b38a7bd 100644 --- a/src/uu/install/src/install.rs +++ b/src/uu/install/src/install.rs @@ -389,7 +389,7 @@ fn directory(paths: Vec, b: Behavior) -> i32 { } } -/// Test if the path is a a new file path that can be +/// Test if the path is a new file path that can be /// created immediately fn is_new_file_path(path: &Path) -> bool { path.is_file() || !path.exists() && path.parent().map(Path::is_dir).unwrap_or(true)