Update fs::remove_file docs

Mention that absence of file causes an error
This commit is contained in:
Imbolc 2020-07-29 08:18:01 +03:00 committed by GitHub
parent 517385b31b
commit c4e44d7373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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