about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-24 18:20:19 +0200
committerGitHub <noreply@github.com>2022-08-24 18:20:19 +0200
commita0fbfd8d8f5e32dd64fc5a8b9d2ae82649208d02 (patch)
treedd849991644da3554813f354df67b536d9b3a8c8
parenta81012cd321d655c3c5f570dc408cddd68c02327 (diff)
parentb1925b811e55a2d9596abdf860b3b175ae871a34 (diff)
downloadrust-a0fbfd8d8f5e32dd64fc5a8b9d2ae82649208d02.tar.gz
rust-a0fbfd8d8f5e32dd64fc5a8b9d2ae82649208d02.zip
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
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index b1fa5e7d86d..f1cd3defbef 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -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;