diff options
| author | Michael Howell <michael@notriddle.com> | 2023-10-16 15:22:17 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-10-16 15:38:08 -0700 |
| commit | 2ff2624722a8e0022ba0783d5870456df379ed94 (patch) | |
| tree | 856e291486ec75749498818f200948686a39f927 /compiler/rustc_data_structures/src | |
| parent | 4af886f8ab94543caad689ee6bf6a93fa8bd4a98 (diff) | |
| download | rust-2ff2624722a8e0022ba0783d5870456df379ed94.tar.gz rust-2ff2624722a8e0022ba0783d5870456df379ed94.zip | |
docs: add Rust logo to more compiler crates
c6e6ecb1afea9695a42d0f148ce153536b279eb5 added it to some of the compiler's crates, but avoided adding it to all of them to reduce bit-rot. This commit adds to more.
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs index 461ec3a90ed..420f7c4f17f 100644 --- a/compiler/rustc_data_structures/src/lib.rs +++ b/compiler/rustc_data_structures/src/lib.rs @@ -6,6 +6,8 @@ //! //! This API is completely unstable and subject to change. +#![cfg_attr(not(bootstrap), doc(rust_logo))] +#![cfg_attr(not(bootstrap), feature(rustdoc_internals))] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![feature(array_windows)] #![feature(associated_type_bounds)] |
