about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-08 07:35:33 +0200
committerGitHub <noreply@github.com>2019-08-08 07:35:33 +0200
commitab9a95b91b1ef893d97d87caac89b2c80a62c4dc (patch)
treed49b16ff5c0695b5edd97af35f858cd0eb3aef63 /src/libstd
parent5277c71e84aa92636fe091e42af462916acb725c (diff)
parent031cc323f5a0aded283977a38e90bab9bfd21357 (diff)
downloadrust-ab9a95b91b1ef893d97d87caac89b2c80a62c4dc.tar.gz
rust-ab9a95b91b1ef893d97d87caac89b2c80a62c4dc.zip
Rollup merge of #63327 - lzutao:fix-as_raw_stat-dep-msg, r=Mark-Simulacrum
doc: Reword deprecation message of MetadataExt::as_raw_stat

Closes #62711
r? @Mark-Simulacrum
Diffstat (limited to 'src/libstd')
-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;