Skip to content

Commit 2d41081

Browse files
authored
Merge pull request #42 from est31/now_deprecated_is_my_new_friend
rustc_deprecated got removed, now only deprecated is used
2 parents a744e15 + 125fd7c commit 2d41081

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)