X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=library%2Fstd%2Fsrc%2Ffs.rs;h=047478fcc855a62294e12ab0099c0aa85a45bb4b;hb=c4e44d7373dd730f938d1dcab78271a6f5bee1cb;hp=4d031cb7a52e4c69253e4239cda3a78e9232e1cc;hpb=2c28244cf0fc9868f55070e55b8f332d196eaf3f;p=rust.git 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 @@ fn as_inner(&self) -> &fs_imp::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