We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b89357b + 27f7a2e commit 9f95666Copy full SHA for 9f95666
src/doc/unstable-book/src/language-features/doc-spotlight.md
@@ -5,8 +5,8 @@ The tracking issue for this feature is: [#45040]
5
The `doc_spotlight` feature allows the use of the `spotlight` parameter to the `#[doc]` attribute,
6
to "spotlight" a specific trait on the return values of functions. Adding a `#[doc(spotlight)]`
7
attribute 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.
+a type that implements that trait. For example, this attribute is applied to the `Iterator`,
+`io::Read`, `io::Write`, and `Future` traits in the standard library.
10
11
You can do this on your own traits, like this:
12
0 commit comments