docs: Fix minor documentation glitch

This commit is contained in:
Michael Roth 2024-02-03 18:02:10 +01:00 committed by GitHub
parent 546bec4d74
commit 907b385e7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.
///