diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-15 09:59:27 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-15 09:59:27 -0700 |
| commit | 7f1734cd94eaeda71af5dc807a8ec58b3209d220 (patch) | |
| tree | 4210ffa6b3f577fbb95d9a798f11b5015f525240 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 294f0eef736aa13cadf28ce7160a18a94ca7b87c (diff) | |
| download | rust-7f1734cd94eaeda71af5dc807a8ec58b3209d220.tar.gz rust-7f1734cd94eaeda71af5dc807a8ec58b3209d220.zip | |
rustdoc: remove no-op CSS `h1-4 { color: --main-color }`
Headers already inherit the font color they need from their parents. This rule dates back to earlier versions of the rustdoc theme, where headers and body had different text colors. https://github.com/rust-lang/rust/blob/68c15be8b5a28297ae58ea030adf49f265e41127/src/librustdoc/html/static/main.css#L72-L98 Nowadays, since the two have exactly the same color (specified by the `--main-color` variable), this rule does nothing.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
