Skip to content

Commit

Permalink
rustdoc: remove unused CSS rule
Browse files Browse the repository at this point in the history
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
notriddle committed Aug 24, 2022
1 parent 87991d5 commit b1925b8
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 b1925b8

Please sign in to comment.