mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Auto merge of #74896 - imbolc:patch-1, r=kennytm
Update `fs::remove_file` docs Mention that absence of file causes an error
This commit is contained in:
commit
0dd362ec17
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user