diff options
| author | Imbolc <imbolc@imbolc.name> | 2020-07-29 08:18:01 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-29 08:18:01 +0300 |
| commit | c4e44d7373dd730f938d1dcab78271a6f5bee1cb (patch) | |
| tree | dea4abcba55492d0a4a9ff8bd2a0d26ce1354c51 /library/std/src | |
| parent | 517385b31b0add8487ff3cc27e216cf3f867ab44 (diff) | |
| download | rust-c4e44d7373dd730f938d1dcab78271a6f5bee1cb.tar.gz rust-c4e44d7373dd730f938d1dcab78271a6f5bee1cb.zip | |
Update `fs::remove_file` docs
Mention that absence of file causes an error
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/fs.rs | 1 |
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 |
