Skip to content

Commit 031cc32

Browse files
committed
doc: Reword deprecation message of MetadataExt::as_raw_stat
1 parent 8996328 commit 031cc32

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)