We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd6c4d commit cd39143Copy full SHA for cd39143
library/std/src/sys/fs/mod.rs
@@ -67,7 +67,7 @@ pub use imp::{
67
68
pub fn read_dir(path: &Path) -> io::Result<ReadDir> {
69
#[cfg(not(windows))]
70
- return imp::remove_dir_all(path);
+ return imp::readdir(path);
71
#[cfg(windows)]
72
with_native_path(path, &imp::readdir)
73
}
0 commit comments