Skip to content

Commit 24b1d21

Browse files
author
Ulrik Sverdrup
committed
rustdoc: Fix left margin for type aliases
Fixes #24655 Margin for associated types was applied to type aliases (in return value) by mistake.
1 parent 4daa62a commit 24b1d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ nav.sub {
348348
.content .impl-items .docblock, .content .impl-items .stability {
349349
margin-left: 40px;
350350
}
351-
.content .impl-items .method, .content .impl-items .type {
351+
.content .impl-items .method, .content .impl-items > .type {
352352
margin-left: 20px;
353353
}
354354

0 commit comments

Comments
 (0)