about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-05-18 10:48:22 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-05-18 10:48:22 -0700
commitb0e3fe9247d4ab121881e150596d78f309a04d99 (patch)
treeb6d0c0a6b38d2658068bfdb61c09f4ebf55f9e97 /src/libstd
parent84b1e084862c08c19c36f0cf1f3698343c8ba7fa (diff)
downloadrust-b0e3fe9247d4ab121881e150596d78f309a04d99.tar.gz
rust-b0e3fe9247d4ab121881e150596d78f309a04d99.zip
[doc] Add a reference from PathExt to fs::metadata
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/fs.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index 481d9e69abd..cb59f020e29 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -1177,8 +1177,9 @@ impl Iterator for WalkDir {
 
 /// Utility methods for paths.
 #[unstable(feature = "path_ext",
-           reason = "the precise set of methods exposed on this trait may \
-                     change and some methods may be removed")]
+           reason = "The precise set of methods exposed on this trait may \
+                     change and some methods may be removed.  For stable code, \
+                     see the std::fs::metadata function.")]
 pub trait PathExt {
     /// Gets information on the file, directory, etc at this path.
     ///