Skip to content

Commit b0e3fe9

Browse files
committed
[doc] Add a reference from PathExt to fs::metadata
1 parent 84b1e08 commit b0e3fe9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libstd/fs.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1177,8 +1177,9 @@ impl Iterator for WalkDir {
11771177

11781178
/// Utility methods for paths.
11791179
#[unstable(feature = "path_ext",
1180-
reason = "the precise set of methods exposed on this trait may \
1181-
change and some methods may be removed")]
1180+
reason = "The precise set of methods exposed on this trait may \
1181+
change and some methods may be removed. For stable code, \
1182+
see the std::fs::metadata function.")]
11821183
pub trait PathExt {
11831184
/// Gets information on the file, directory, etc at this path.
11841185
///

0 commit comments

Comments
 (0)