about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-29 21:54:16 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-09-27 11:29:49 +0200
commitfccba2c341b65b62f513c0b7ee8842f134f3cbcd (patch)
tree5729ba92e55dbf01f6e006b2a2ae2a56821e756a /library/alloc/src
parent553308b11503eafac6341b82f345bd62b09ba317 (diff)
downloadrust-fccba2c341b65b62f513c0b7ee8842f134f3cbcd.tar.gz
rust-fccba2c341b65b62f513c0b7ee8842f134f3cbcd.zip
Remove `doc_cfg_hide` feature
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index dc5d243e882..24d7e6216a0 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -207,7 +207,7 @@
 //
 // Rustdoc features:
 #![feature(doc_cfg)]
-#![feature(doc_cfg_hide)]
+#![cfg_attr(bootstrap, feature(doc_cfg_hide))]
 // Technically, this is a bug in rustdoc: rustdoc sees the documentation on `#[lang = slice_alloc]`
 // blocks is for `&[T]`, which also has documentation using this feature in `core`, and gets mad
 // that the feature-gate isn't enabled. Ideally, it wouldn't check for the feature gate for docs