@@ -33,7 +33,7 @@ extern { fn some_func<T>(x: T); }
33
33
34
34
This is used by the error index to ensure that the samples that correspond to a given error number
35
35
properly emit that error code. However, these error codes aren't guaranteed to be the only thing
36
- that a piece of code emits from version to version, so this in unlikely to be stabilized in the
36
+ that a piece of code emits from version to version, so this is unlikely to be stabilized in the
37
37
future.
38
38
39
39
Attempting to use these error numbers on stable will result in the code sample being interpreted as
@@ -134,9 +134,9 @@ pub struct UnixToken;
134
134
In this sample, the tokens will only appear on their respective platforms, but they will both appear
135
135
in documentation.
136
136
137
- ` #[doc(cfg(...))] ` was introduced to be used by the standard library and is currently controlled by
138
- a feature gate. For more information, see [ its chapter in the Unstable Book ] [ unstable-doc-cfg ] and
139
- [ its tracking issue] [ issue-doc-cfg ] .
137
+ ` #[doc(cfg(...))] ` was introduced to be used by the standard library and currently requires the
138
+ ` #![feature(doc_cfg)] ` feature gate. For more information, see [ its chapter in the Unstable
139
+ Book ] [ unstable-doc-cfg ] and [ its tracking issue] [ issue-doc-cfg ] .
140
140
141
141
[ unstable-doc-cfg ] : ../unstable-book/language-features/doc-cfg.html
142
142
[ issue-doc-cfg ] : https://github.com/rust-lang/rust/issues/43781
@@ -155,8 +155,9 @@ In the standard library, the traits that qualify for inclusion are `Iterator`, `
155
155
special marker attribute on them: ` #[doc(spotlight)] ` . This means that you could apply this
156
156
attribute to your own trait to include it in the "Important Traits" dialog in documentation.
157
157
158
- The ` #[doc(spotlight)] ` attribute is controlled by a feature gate. For more information, see [ its
159
- chapter in the Unstable Book] [ unstable-spotlight ] and [ its tracking issue] [ issue-spotlight ] .
158
+ The ` #[doc(spotlight)] ` attribute currently requires the ` #![feature(doc_spotlight)] ` feature gate.
159
+ For more information, see [ its chapter in the Unstable Book] [ unstable-spotlight ] and [ its tracking
160
+ issue] [ issue-spotlight ] .
160
161
161
162
[ unstable-spotlight ] : ../unstable-book/language-features/doc-spotlight.html
162
163
[ issue-spotlight ] : https://github.com/rust-lang/rust/issues/45040
@@ -174,9 +175,9 @@ To prevent internal types from being included in documentation, the standard lib
174
175
attribute to their ` extern crate ` declarations: ` #[doc(masked)] ` . This causes Rustdoc to "mask out"
175
176
types from these crates when building lists of trait implementations.
176
177
177
- The ` #[doc(masked)] ` attribute is intended to be used internally, and is controlled by a feature
178
- gate. For more information, see [ its chapter in the Unstable Book ] [ unstable-masked ] and [ its
179
- tracking issue] [ issue-masked ] .
178
+ The ` #[doc(masked)] ` attribute is intended to be used internally, and requires the
179
+ ` #![feature(doc_masked)] ` feature gate. For more information, see [ its chapter in the Unstable
180
+ Book ] [ unstable-masked ] and [ its tracking issue] [ issue-masked ] .
180
181
181
182
[ unstable-masked ] : ../unstable-book/language-features/doc-masked.html
182
183
[ issue-masked ] : https://github.com/rust-lang/rust/issues/44027
@@ -191,8 +192,9 @@ as if it were written inline.
191
192
192
193
[ RFC 1990 ] : https://github.com/rust-lang/rfcs/pull/1990
193
194
194
- ` #[doc(include = "...")] ` is currently controlled by a feature gate. For more information, see [ its
195
- chapter in the Unstable Book] [ unstable-include ] and [ its tracking issue] [ issue-include ] .
195
+ ` #[doc(include = "...")] ` currently requires the ` #![feature(external_doc)] ` feature gate. For more
196
+ information, see [ its chapter in the Unstable Book] [ unstable-include ] and [ its tracking
197
+ issue] [ issue-include ] .
196
198
197
199
[ unstable-include ] : ../unstable-book/language-features/external-doc.html
198
200
[ issue-include ] : https://github.com/rust-lang/rust/issues/44732
0 commit comments