Skip to content

Commit 45cc8cb

Browse files
committed
rustdoc: remove unused CSS for .multi-column
As a sanity check, [this tool] can be used to run a CSS query across an HTML tree to detect if a selector ever matches (I use compiler-docs and std docs). This isn't good enough, because I also need to account for JavaScript, but this class is never mentioned in any of the JS files, either. According to [blame], this class was added when rustdoc was first written, and, as far as I can tell, was never actually used. [this tool]: https://gitlab.com/notriddle/html-scanner [blame]: https://github.com/rust-lang/rust/blame/4d45b0745ab227feb9000bc15713ade4b99241ea/src/librustdoc/html/static/css/rustdoc.css#L753-L761
1 parent 87991d5 commit 45cc8cb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Diff for: src/librustdoc/html/static/css/rustdoc.css

-10
Original file line numberDiff line numberDiff line change
@@ -754,16 +754,6 @@ pre, .rustdoc.source .example-wrap {
754754
padding: 0;
755755
}
756756

757-
.content .multi-column {
758-
-moz-column-count: 5;
759-
-moz-column-gap: 2.5em;
760-
-webkit-column-count: 5;
761-
-webkit-column-gap: 2.5em;
762-
column-count: 5;
763-
column-gap: 2.5em;
764-
}
765-
.content .multi-column li { width: 100%; display: inline-block; }
766-
767757
.content > .methods > .method {
768758
font-size: 1rem;
769759
position: relative;

0 commit comments

Comments
 (0)