Skip to content

Commit

Permalink
rustc_deprecated got removed, now only deprecated is used
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Aug 23, 2022
1 parent a744e15 commit eca4207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feature-lifecycle/deprecation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit eca4207

Please sign in to comment.