Skip to content

Commit 125fd7c

Browse files
committed
rustc_deprecated got removed, now only deprecated is used
See rust-lang/rust#95960
1 parent a744e15 commit 125fd7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/feature-lifecycle/deprecation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
**Status:** Stub
44

5-
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.
5+
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.
66

77
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.

0 commit comments

Comments
 (0)