Skip to content

Commit 48f7148

Browse files
Update documentation for rustc_doc_primitive
1 parent 364e961 commit 48f7148

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/rustdoc/src/unstable-features.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ Book][unstable-masked] and [its tracking issue][issue-masked].
177177
This is for Rust compiler internal use only.
178178

179179
Since primitive types are defined in the compiler, there's no place to attach documentation
180-
attributes. The `#[doc(primitive)]` attribute is used by the standard library to provide a way
181-
to generate documentation for primitive types, and requires `#![feature(rustdoc_internals)]` to
182-
enable.
180+
attributes. The `#[rustc_doc_primitive = "..."]` attribute is used by the standard library to
181+
provide a way to generate documentation for primitive types, and requires `#![feature(rustc_attrs)]`
182+
to enable.
183183

184184
### Document keywords
185185

0 commit comments

Comments
 (0)