Skip to content

Commit fb141c3

Browse files
committed
typo
1 parent dcb9b76 commit fb141c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ fn remove_dir_all(path: &Path) -> io::Result<()> {
10821082
if fs::remove_dir_all(path).is_ok() {
10831083
return Ok(());
10841084
}
1085-
std::thread::xsleep(std::time::Duration::from_millis(10))
1085+
std::thread::sleep(std::time::Duration::from_millis(10))
10861086
}
10871087
fs::remove_dir_all(path)
10881088
}

0 commit comments

Comments
 (0)