Skip to content

Commit

Permalink
Auto merge of #74896 - imbolc:patch-1, r=kennytm
Browse files Browse the repository at this point in the history
Update `fs::remove_file` docs

Mention that absence of file causes an error
  • Loading branch information
bors committed Jul 29, 2020
2 parents 10c3757 + c4e44d7 commit 0dd362e
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 0dd362e

Please sign in to comment.