rustdoc: remove rust logo from non-Rust crates

This commit is contained in:
Michael Howell
2023-09-19 16:28:18 -07:00
parent 6d6fa792ff
commit c6e6ecb1af
46 changed files with 208 additions and 36 deletions

View File

@@ -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)),