Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Dec 23, 2024
1 parent dcb9b76 commit fb141c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ fn remove_dir_all(path: &Path) -> io::Result<()> {
if fs::remove_dir_all(path).is_ok() {
return Ok(());
}
std::thread::xsleep(std::time::Duration::from_millis(10))
std::thread::sleep(std::time::Duration::from_millis(10))
}
fs::remove_dir_all(path)
}

0 comments on commit fb141c3

Please sign in to comment.