Skip to content

Commit

Permalink
Rollup merge of #100938 - notriddle:notriddle/fields-table, r=sanxiyn
Browse files Browse the repository at this point in the history
rustdoc: remove unused CSS rule

According to [blame], this rule was added to support enum struct variants. However, enum struct variants don't use tables in their design any more, so this rule does nothing.

[blame]: https://github.com/rust-lang/rust/blame/87991d5f5d72d6baca490141cb890211ba2f3843/src/librustdoc/html/static/css/rustdoc.css#L748
  • Loading branch information
matthiaskrgr authored Aug 24, 2022
2 parents a81012c + b1925b8 commit a0fbfd8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -745,10 +745,6 @@ pre, .rustdoc.source .example-wrap {
border: 1px solid var(--border-color);
}

.fields + table {
margin-bottom: 1em;
}

.content .item-list {
list-style-type: none;
padding: 0;
Expand Down

0 comments on commit a0fbfd8

Please sign in to comment.