Skip to content

Commit

Permalink
Rollup merge of rust-lang#63327 - lzutao:fix-as_raw_stat-dep-msg, r=M…
Browse files Browse the repository at this point in the history
…ark-Simulacrum

doc: Reword deprecation message of MetadataExt::as_raw_stat

Closes rust-lang#62711
r? @Mark-Simulacrum
  • Loading branch information
Centril authored Aug 8, 2019
2 parents ac061a4 + 031cc32 commit 46e7cb4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/libstd/os/linux/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 46e7cb4

Please sign in to comment.