From 031cc323f5a0aded283977a38e90bab9bfd21357 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Tue, 6 Aug 2019 13:32:08 +0000 Subject: [PATCH] doc: Reword deprecation message of MetadataExt::as_raw_stat --- src/libstd/os/linux/fs.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/libstd/os/linux/fs.rs b/src/libstd/os/linux/fs.rs index ec5e98370768d..78321ac3185df 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;