diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs index 4d031cb7a52e4..047478fcc855a 100644 --- a/library/std/src/fs.rs +++ b/library/std/src/fs.rs @@ -1574,6 +1574,7 @@ impl AsInner for DirEntry { /// limited to just these cases: /// /// * `path` points to a directory. +/// * The file doesn't exist. /// * The user lacks permissions to remove the file. /// /// # Examples