Skip to content

Commit

Permalink
Update fs::remove_file docs
Browse files Browse the repository at this point in the history
Mention that absence of file causes an error
  • Loading branch information
imbolc authored Jul 29, 2020
1 parent 517385b commit c4e44d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4e44d7

Please sign in to comment.