1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

rm: remove outdated comment

This commit is contained in:
Daniel Hofstetter 2024-12-29 14:51:01 +01:00
parent 80ed8d514a
commit 5577165c77

View file

@ -524,7 +524,7 @@ fn prompt_file(path: &Path, options: &Options) -> bool {
}
}
}
// File::open(path) doesn't open the file in write mode so we need to use file options to open it in also write mode to check if it can written too
let Ok(metadata) = fs::metadata(path) else {
return true;
};