diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-09-16 11:17:03 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-16 11:17:03 +0530 |
| commit | 18d3063350809de08f98fb74479a28d7149a3d14 (patch) | |
| tree | c70186b88f31e6f1e97a8b30995e774ba46b9983 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 458555dbf6e4847e8b4f19d31f37f45baf7fd128 (diff) | |
| parent | 7f1734cd94eaeda71af5dc807a8ec58b3209d220 (diff) | |
| download | rust-18d3063350809de08f98fb74479a28d7149a3d14.tar.gz rust-18d3063350809de08f98fb74479a28d7149a3d14.zip | |
Rollup merge of #101864 - notriddle:notriddle/h1-h2-h3-h4, r=GuillaumeGomez
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/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
