From b1925b811e55a2d9596abdf860b3b175ae871a34 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Tue, 23 Aug 2022 18:15:53 -0700 Subject: [PATCH] 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 --- src/librustdoc/html/static/css/rustdoc.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index b1fa5e7d86de6..f1cd3defbef6b 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;