Skip to content

Commit c6c4e0f

Browse files
committed
rustdoc: remove no-op .method { font-size: 1rem }
This rule was added in 22dad4b, back when the `method` class was attached to headers instead of DIVs that wrap headers. Old method rendering: https://github.com/rust-lang/rust/blob/a96247bcac385671757034bd928c13097fd2ce76/src/librustdoc/html/render.rs#L2062 Current method rendering: https://github.com/rust-lang/rust/blob/432abd86f231c908f6df3cdd779e83f35084be90/src/librustdoc/html/render/print_item.rs#L721
1 parent 432abd8 commit c6c4e0f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,6 @@ pre, .rustdoc.source .example-wrap {
729729
}
730730

731731
.content > .methods > .method {
732-
font-size: 1rem;
733732
position: relative;
734733
}
735734
/* Shift "where ..." part of method or fn definition down a line */

0 commit comments

Comments
 (0)