Skip to content

Commit a0fbfd8

Browse files
authored
Rollup merge of #100938 - notriddle:notriddle/fields-table, r=sanxiyn
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
2 parents a81012c + b1925b8 commit a0fbfd8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustdoc/html/static/css/rustdoc.css

-4
Original file line numberDiff line numberDiff line change
@@ -745,10 +745,6 @@ pre, .rustdoc.source .example-wrap {
745745
border: 1px solid var(--border-color);
746746
}
747747

748-
.fields + table {
749-
margin-bottom: 1em;
750-
}
751-
752748
.content .item-list {
753749
list-style-type: none;
754750
padding: 0;

0 commit comments

Comments
 (0)