Rename #[doc(spotlight)]
to #[doc(notable_trait)]
"spotlight" is not a very specific or self-explaining name. Additionally, the dialog that it triggers is called "Notable traits". So, "notable trait" is a better name. * Rename `#[doc(spotlight)]` to `#[doc(notable_trait)]` * Rename `#![feature(doc_spotlight)]` to `#![feature(doc_notable_trait)]` * Update documentation * Improve documentation
This commit is contained in:
parent
2ccf06302c
commit
34c6cee397
23 changed files with 149 additions and 84 deletions
|
@ -216,6 +216,10 @@ declare_features! (
|
|||
/// Renamed from `optin_builtin_traits`.
|
||||
(active, auto_traits, "1.50.0", Some(13231), None),
|
||||
|
||||
/// Allows `#[doc(notable_trait)]`.
|
||||
/// Renamed from `doc_spotlight`.
|
||||
(active, doc_notable_trait, "1.52.0", Some(45040), None),
|
||||
|
||||
// no-tracking-issue-end
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
@ -374,9 +378,6 @@ declare_features! (
|
|||
/// Allows `#[doc(masked)]`.
|
||||
(active, doc_masked, "1.21.0", Some(44027), None),
|
||||
|
||||
/// Allows `#[doc(spotlight)]`.
|
||||
(active, doc_spotlight, "1.22.0", Some(45040), None),
|
||||
|
||||
/// Allows `#[doc(include = "some-file")]`.
|
||||
(active, external_doc, "1.22.0", Some(44732), None),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue