You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/rustdoc/src/unstable-features.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,9 +63,7 @@ and enabled with a `#![feature(...)]` attribute in your crate.
63
63
Important traits can be difficult to discover when lost in the noise.
64
64
This `#![feature(doc_label_trait)]` allows you to tag traits important for your code base.
65
65
66
-
The traits with the attribute #![doc(label_trait)]` are rendered with a colored badge on top of their dedicated page, and accompanied with a smaller badge when referenced from elsewhere.
67
-
68
-
To customize the color: `#[doc(notable_trait)].
66
+
The traits with the attribute #![doc(label_trait)]` are rendered with a colored badge at the top of their dedicated page.
69
67
70
68
Consider lookint into the `notable_trait` unstable attribure, which help with
0 commit comments