Mention std::fs::remove_dir_all in std::fs::remove_dir
This commit is contained in:
parent
c602e9aeaa
commit
7bffa31042
1 changed files with 4 additions and 0 deletions
|
@ -2738,6 +2738,10 @@ pub fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
|
||||||
|
|
||||||
/// Removes an empty directory.
|
/// Removes an empty directory.
|
||||||
///
|
///
|
||||||
|
/// If you want to remove a directory that is not empty, as well as all
|
||||||
|
/// of its contents recursively, consider using [`remove_dir_all`]
|
||||||
|
/// instead.
|
||||||
|
///
|
||||||
/// # Platform-specific behavior
|
/// # Platform-specific behavior
|
||||||
///
|
///
|
||||||
/// This function currently corresponds to the `rmdir` function on Unix
|
/// This function currently corresponds to the `rmdir` function on Unix
|
||||||
|
|
Loading…
Add table
Reference in a new issue