File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/doc/unstable-book/src/language-features Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ The tracking issue for this feature is: [#45040]
55The ` doc_spotlight ` feature allows the use of the ` spotlight ` parameter to the ` #[doc] ` attribute,
66to "spotlight" a specific trait on the return values of functions. Adding a ` #[doc(spotlight)] `
77attribute to a trait definition will make rustdoc print extra information for functions which return
8- a type that implements that trait. This attribute is applied to the ` Iterator ` , ` io::Read ` , and
9- ` io::Write ` traits in the standard library.
8+ a type that implements that trait. For example, this attribute is applied to the ` Iterator ` ,
9+ ` io::Read ` , ` io:: Write` , and ` Future ` traits in the standard library.
1010
1111You can do this on your own traits, like this:
1212
You can’t perform that action at this time.
0 commit comments