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.
ReadDir
1 parent 015c777 commit ae645fcCopy full SHA for ae645fc
library/std/src/fs.rs
@@ -153,9 +153,8 @@ pub struct Metadata(fs_imp::FileAttr);
153
/// dependent.
154
///
155
/// # Errors
156
-///
157
-/// This [`io::Result`] will be an [`Err`] if there's some sort of intermittent
158
-/// IO error during iteration.
+/// This [`io::Result`] will be an [`Err`] if an error occurred while fetching
+/// the next entry from the OS.
159
#[stable(feature = "rust1", since = "1.0.0")]
160
#[derive(Debug)]
161
pub struct ReadDir(fs_imp::ReadDir);
0 commit comments