Rollup merge of #63327 - lzutao:fix-as_raw_stat-dep-msg, r=Mark-Simulacrum
doc: Reword deprecation message of MetadataExt::as_raw_stat Closes #62711 r? @Mark-Simulacrum
This commit is contained in:
commit
ab9a95b91b
1 changed files with 4 additions and 3 deletions
|
@ -34,9 +34,10 @@ pub trait MetadataExt {
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[stable(feature = "metadata_ext", since = "1.1.0")]
|
#[stable(feature = "metadata_ext", since = "1.1.0")]
|
||||||
#[rustc_deprecated(since = "1.8.0",
|
#[rustc_deprecated(
|
||||||
reason = "deprecated in favor of the accessor \
|
since = "1.8.0",
|
||||||
methods of this trait")]
|
reason = "other methods of this trait are now prefered"
|
||||||
|
)]
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
fn as_raw_stat(&self) -> &raw::stat;
|
fn as_raw_stat(&self) -> &raw::stat;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue