about summary refs log tree commit diff
path: root/library/alloc
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-09-19 16:28:18 -0700
committerMichael Howell <michael@notriddle.com>2023-10-08 20:17:53 -0700
commitc6e6ecb1afea9695a42d0f148ce153536b279eb5 (patch)
treedb64d127a8ba8ef6d610f3e4f0bec539a5e6a0ef /library/alloc
parent6d6fa792fffa6e22eec1b30cedee6e8306d0df64 (diff)
downloadrust-c6e6ecb1afea9695a42d0f148ce153536b279eb5.tar.gz
rust-c6e6ecb1afea9695a42d0f148ce153536b279eb5.zip
rustdoc: remove rust logo from non-Rust crates
Diffstat (limited to 'library/alloc')
-rw-r--r--library/alloc/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index cd3648214a4..d47f9de941c 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -78,6 +78,8 @@
     not(no_sync),
     target_has_atomic = "ptr"
 ))]
+#![cfg_attr(not(bootstrap), doc(rust_logo))]
+#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
 #![no_std]
 #![needs_allocator]
 // Lints: