Skip to content

Commit be68d34

Browse files
QuietMisdreavusGuillaumeGomez
authored andcommitted
update links and tracking issue for doc_spotlight
1 parent 831fd78 commit be68d34

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/doc/unstable-book/src/language-features/doc-spotlight.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `doc_spotlight`
22

3-
The tracking issue for this feature is: [TODO]
3+
The tracking issue for this feature is: [#45040]
44

55
The `doc_spotlight` feature allows the use of the `spotlight` parameter to the `#[doc]` attribute,
66
to "spotlight" a specific trait on the return values of functions. Adding a `#[doc(spotlight)]`
@@ -24,4 +24,7 @@ impl MyTrait for MyStruct {}
2424
pub fn my_fn() -> MyStruct { MyStruct }
2525
```
2626

27-
This feature was originally implemented in PR [TODO].
27+
This feature was originally implemented in PR [#45039].
28+
29+
[#45040]: https://github.com/rust-lang/rust/issues/45040
30+
[#45039]: https://github.com/rust-lang/rust/pull/45039

src/libsyntax/feature_gate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ declare_features! (
382382
// #[doc(masked)]
383383
(active, doc_masked, "1.21.0", Some(44027)),
384384
// #[doc(spotlight)]
385-
(active, doc_spotlight, "1.22.0", None),
385+
(active, doc_spotlight, "1.22.0", Some(45040)),
386386

387387
// allow `#[must_use]` on functions and comparison operators (RFC 1940)
388388
(active, fn_must_use, "1.21.0", Some(43302)),

0 commit comments

Comments
 (0)