diff options
| author | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2021-11-21 21:10:12 -0800 |
|---|---|---|
| committer | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2021-11-22 01:13:27 -0800 |
| commit | a56559df1346c44aa058f3a82785f20230a0468f (patch) | |
| tree | 7340a539b54955022be4981f94d7d8ff88969648 /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | f377ac5e665911877ea9d94708fc2357e08eab9c (diff) | |
| download | rust-a56559df1346c44aa058f3a82785f20230a0468f.tar.gz rust-a56559df1346c44aa058f3a82785f20230a0468f.zip | |
Set color for <a> in a more straightforward way
Previously, we set the default color for <a> tags to black, and then had an override with a bunch of not() clauses to set anchors in docblocks to blue. Instead, we should set the default color for <a> to blue (or equivalent in other themes), and override it for places like the sidebar or search results, where we don't want them to be styled as links.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions
