mirror of https://github.com/smol-rs/async-fs
docs: Fix minor documentation glitch
This commit is contained in:
parent
546bec4d74
commit
907b385e7d
|
@ -534,7 +534,7 @@ pub async fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
|
|||
///
|
||||
/// An error will be returned in the following situations:
|
||||
///
|
||||
/// * `path` is not an existing and empty directory.
|
||||
/// * `path` is not an existing directory.
|
||||
/// * The current process lacks permissions to remove the directory.
|
||||
/// * Some other I/O error occurred.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue