update links and tracking issue for doc_spotlight

This commit is contained in:
QuietMisdreavus 2017-10-04 22:18:52 -05:00 committed by Guillaume Gomez
parent 831fd78341
commit be68d34a7e
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# `doc_spotlight`
The tracking issue for this feature is: [TODO]
The tracking issue for this feature is: [#45040]
The `doc_spotlight` feature allows the use of the `spotlight` parameter to the `#[doc]` attribute,
to "spotlight" a specific trait on the return values of functions. Adding a `#[doc(spotlight)]`
@ -24,4 +24,7 @@ impl MyTrait for MyStruct {}
pub fn my_fn() -> MyStruct { MyStruct }
```
This feature was originally implemented in PR [TODO].
This feature was originally implemented in PR [#45039].
[#45040]: https://github.com/rust-lang/rust/issues/45040
[#45039]: https://github.com/rust-lang/rust/pull/45039

View file

@ -382,7 +382,7 @@ declare_features! (
// #[doc(masked)]
(active, doc_masked, "1.21.0", Some(44027)),
// #[doc(spotlight)]
(active, doc_spotlight, "1.22.0", None),
(active, doc_spotlight, "1.22.0", Some(45040)),
// allow `#[must_use]` on functions and comparison operators (RFC 1940)
(active, fn_must_use, "1.21.0", Some(43302)),