about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2019-08-06 13:32:08 +0000
committerLzu Tao <taolzu@gmail.com>2019-08-06 13:32:08 +0000
commit031cc323f5a0aded283977a38e90bab9bfd21357 (patch)
treef65a80e857e92a94227deaa0da70dc819791d693
parent8996328ebf34aa73e83a1db326767c11041f811d (diff)
downloadrust-031cc323f5a0aded283977a38e90bab9bfd21357.tar.gz
rust-031cc323f5a0aded283977a38e90bab9bfd21357.zip
doc: Reword deprecation message of MetadataExt::as_raw_stat
-rw-r--r--src/libstd/os/linux/fs.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libstd/os/linux/fs.rs b/src/libstd/os/linux/fs.rs
index ec5e9837076..78321ac3185 100644
--- a/src/libstd/os/linux/fs.rs
+++ b/src/libstd/os/linux/fs.rs
@@ -34,9 +34,10 @@ pub trait MetadataExt {
     /// }
     /// ```
     #[stable(feature = "metadata_ext", since = "1.1.0")]
-    #[rustc_deprecated(since = "1.8.0",
-                       reason = "deprecated in favor of the accessor \
-                                 methods of this trait")]
+    #[rustc_deprecated(
+        since = "1.8.0",
+        reason = "other methods of this trait are now prefered"
+    )]
     #[allow(deprecated)]
     fn as_raw_stat(&self) -> &raw::stat;