summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-19 18:47:15 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-19 18:47:15 +0530
commitcc50fd6f31f2037acf41d66005fbd820a6eee297 (patch)
tree7c3d35052c36e1ca4848175ba79cec0275e9eb3a /src/libstd
parent02b79c47632606eb61a447cb513f180b6cbcefe7 (diff)
parentb0e3fe9247d4ab121881e150596d78f309a04d99 (diff)
downloadrust-cc50fd6f31f2037acf41d66005fbd820a6eee297.tar.gz
rust-cc50fd6f31f2037acf41d66005fbd820a6eee297.zip
Rollup merge of #25576 - mbrubeck:pathext-doc, r=steveklabnik
This has been a frequently-asked question on IRC, and it isn't obvious where to
look for the fix.  r? @steveklabnik
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.
     ///