Function remove_dir

async fn remove_dir<impl AsRef<Path>: AsRef<std::path::Path>>(path: impl AsRef<Path>) -> Result<()>

Removes an existing, empty directory.

This is an async version of std::fs::remove_dir.