Skip to content

Commit

Permalink
Rollup merge of rust-lang#104503 - notriddle:notriddle/where, r=Guill…
Browse files Browse the repository at this point in the history
…aumeGomez

rustdoc: remove redundant font-color CSS on `.where`

Before 7f6ce7d, light-theme where clauses had color `#4E4C4C` while the main color was `#000`. One of that commit's simplifications made it so that everything used the same black.
  • Loading branch information
matthiaskrgr authored Nov 17, 2022
2 parents 2250523 + 893bd78 commit 1641f55
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,7 @@ h1 a,
.search-results a,
.module-item .stab,
.import-item .stab,
.result-name .primitive > i, .result-name .keyword > i,
.method .where,
.fn .where,
.where.fmt-newline {
.result-name .primitive > i, .result-name .keyword > i {
color: var(--main-color);
}

Expand Down

0 comments on commit 1641f55

Please sign in to comment.