From 125fd7c1cd67525581dc4f964a2e5b79019dcc66 Mon Sep 17 00:00:00 2001 From: est31 Date: Wed, 24 Aug 2022 01:24:42 +0200 Subject: [PATCH] rustc_deprecated got removed, now only deprecated is used See https://github.com/rust-lang/rust/pull/95960 --- src/feature-lifecycle/deprecation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature-lifecycle/deprecation.md b/src/feature-lifecycle/deprecation.md index 68b90a4..e5523db 100644 --- a/src/feature-lifecycle/deprecation.md +++ b/src/feature-lifecycle/deprecation.md @@ -2,6 +2,6 @@ **Status:** Stub -Public APIs aren't deleted from the standard library. If something shouldn't be used anymore it gets deprecated by adding a `#[rustc_deprecated]` attribute. Deprecating need to go through a Libs FCP, just like stabilizations do. +Public APIs aren't deleted from the standard library. If something shouldn't be used anymore it gets deprecated by adding a `#[deprecated]` attribute. Deprecating need to go through a Libs FCP, just like stabilizations do. To try reduce noise in the docs from deprecated items, they should be moved to the bottom of the module or `impl` block so they're rendered at the bottom of the docs page. The docs should then be cut down to focus on why the item is deprecated rather than how you might use it.