Skip to content

Commit 46e7cb4

Browse files
authored
Rollup merge of rust-lang#63327 - lzutao:fix-as_raw_stat-dep-msg, r=Mark-Simulacrum
doc: Reword deprecation message of MetadataExt::as_raw_stat Closes rust-lang#62711 r? @Mark-Simulacrum
2 parents ac061a4 + 031cc32 commit 46e7cb4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/libstd/os/linux/fs.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ pub trait MetadataExt {
3434
/// }
3535
/// ```
3636
#[stable(feature = "metadata_ext", since = "1.1.0")]
37-
#[rustc_deprecated(since = "1.8.0",
38-
reason = "deprecated in favor of the accessor \
39-
methods of this trait")]
37+
#[rustc_deprecated(
38+
since = "1.8.0",
39+
reason = "other methods of this trait are now prefered"
40+
)]
4041
#[allow(deprecated)]
4142
fn as_raw_stat(&self) -> &raw::stat;
4243

0 commit comments

Comments
 (0)