We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08dd30d commit 3e3408dCopy full SHA for 3e3408d
src/libstd/fs/mod.rs
@@ -73,6 +73,11 @@ pub struct Metadata(fs_imp::FileAttr);
73
/// will yield instances of `io::Result<DirEntry>`. Through a `DirEntry`
74
/// information like the entry's path and possibly other metadata can be
75
/// learned.
76
+///
77
+/// # Failure
78
79
+/// This `io::Result` will be an `Err` if there's some sort of intermittent
80
+/// IO error during iteration.
81
#[stable(feature = "rust1", since = "1.0.0")]
82
pub struct ReadDir(fs_imp::ReadDir);
83
0 commit comments