about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-03-21 16:53:12 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-03-30 22:56:52 +0200
commit48f7148fcab44e030882d3c0a7a93e66a92f2ba4 (patch)
tree05207d0ab0fa06e2d31016580496b1be6f18388a
parent364e961417c4308f8a1d3b7ec69ead9d98af2a01 (diff)
downloadrust-48f7148fcab44e030882d3c0a7a93e66a92f2ba4.tar.gz
rust-48f7148fcab44e030882d3c0a7a93e66a92f2ba4.zip
Update documentation for rustc_doc_primitive
-rw-r--r--src/doc/rustdoc/src/unstable-features.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustdoc/src/unstable-features.md b/src/doc/rustdoc/src/unstable-features.md
index b8b5014ab42..960c1de1782 100644
--- a/src/doc/rustdoc/src/unstable-features.md
+++ b/src/doc/rustdoc/src/unstable-features.md
@@ -177,9 +177,9 @@ Book][unstable-masked] and [its tracking issue][issue-masked].
 This is for Rust compiler internal use only.
 
 Since primitive types are defined in the compiler, there's no place to attach documentation
-attributes. The `#[doc(primitive)]` attribute is used by the standard library to provide a way
-to generate documentation for primitive types, and requires `#![feature(rustdoc_internals)]` to
-enable.
+attributes. The `#[rustc_doc_primitive = "..."]` attribute is used by the standard library to
+provide a way to generate documentation for primitive types, and requires `#![feature(rustc_attrs)]`
+to enable.
 
 ### Document keywords