about summary refs log tree commit diff
path: root/library/std
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/std
parent6d6fa792fffa6e22eec1b30cedee6e8306d0df64 (diff)
downloadrust-c6e6ecb1afea9695a42d0f148ce153536b279eb5.tar.gz
rust-c6e6ecb1afea9695a42d0f148ce153536b279eb5.zip
rustdoc: remove rust logo from non-Rust crates
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 02f4d5bc7ae..aaf20875129 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -227,6 +227,7 @@
     test(no_crate_inject, attr(deny(warnings))),
     test(attr(allow(dead_code, deprecated, unused_variables, unused_mut)))
 )]
+#![cfg_attr(not(bootstrap), doc(rust_logo))]
 #![doc(cfg_hide(
     not(test),
     not(any(test, bootstrap)),