File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -106,19 +106,19 @@ pub struct Metadata(fs_imp::FileAttr);
106
106
/// Iterator over the entries in a directory.
107
107
///
108
108
/// This iterator is returned from the [`read_dir`] function of this module and
109
- /// will yield instances of `io::Result< DirEntry>`. Through a [`DirEntry`]
109
+ /// will yield instances of [ `io::Result`]`<`[` DirEntry`]` >`. Through a [`DirEntry`]
110
110
/// information like the entry's path and possibly other metadata can be
111
111
/// learned.
112
112
///
113
- /// [`read_dir`]: fn.read_dir.html
114
- /// [`DirEntry`]: struct.DirEntry.html
115
- ///
116
113
/// # Errors
117
114
///
118
- /// This [`io::Result`] will be an `Err` if there's some sort of intermittent
115
+ /// This [`io::Result`] will be an [ `Err`] if there's some sort of intermittent
119
116
/// IO error during iteration.
120
117
///
118
+ /// [`read_dir`]: fn.read_dir.html
119
+ /// [`DirEntry`]: struct.DirEntry.html
121
120
/// [`io::Result`]: ../io/type.Result.html
121
+ /// [`Err`]: ../result/enum.Result.html#variant.Err
122
122
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
123
123
#[ derive( Debug ) ]
124
124
pub struct ReadDir ( fs_imp:: ReadDir ) ;
You can’t perform that action at this time.
0 commit comments