about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/fs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/fs.rs b/library/std/src/fs.rs
index 4d031cb7a52..047478fcc85 100644
--- a/library/std/src/fs.rs
+++ b/library/std/src/fs.rs
@@ -1574,6 +1574,7 @@ impl AsInner<fs_imp::DirEntry> 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