summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorPietro Albini <pietro.albini@ferrous-systems.com>2021-10-19 09:27:59 +0200
committerMark Rousskov <mark.simulacrum@gmail.com>2021-10-23 21:55:57 -0400
commitb63ab8005a76844a0330d45bf48b6d71e9422de3 (patch)
tree6466588771528125a1745d1816f400be2ac8abbe /library/alloc/src
parent5d088abfb3dfd45f2d021fd2eef7a0f8ba1a204a (diff)
downloadrust-b63ab8005a76844a0330d45bf48b6d71e9422de3.tar.gz
rust-b63ab8005a76844a0330d45bf48b6d71e9422de3.zip
update cfg(bootstrap)
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 285d7755c06..5e6fe3b9b32 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -156,7 +156,7 @@
 //
 // Rustdoc features:
 #![feature(doc_cfg)]
-#![cfg_attr(not(bootstrap), feature(doc_cfg_hide))]
+#![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