diff options
| author | Lzu Tao <taolzu@gmail.com> | 2019-08-06 13:32:08 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2019-08-06 13:32:08 +0000 |
| commit | 031cc323f5a0aded283977a38e90bab9bfd21357 (patch) | |
| tree | f65a80e857e92a94227deaa0da70dc819791d693 | |
| parent | 8996328ebf34aa73e83a1db326767c11041f811d (diff) | |
| download | rust-031cc323f5a0aded283977a38e90bab9bfd21357.tar.gz rust-031cc323f5a0aded283977a38e90bab9bfd21357.zip | |
doc: Reword deprecation message of MetadataExt::as_raw_stat
| -rw-r--r-- | src/libstd/os/linux/fs.rs | 7 |
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; |
