We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 352238d commit 888811bCopy full SHA for 888811b
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. 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