rustdoc: where-clauses on tuple & unit structs and on assoc tys are weirdly styled #112901
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
The styling of where-clauses on tuple & unit structs and on assoc tys weirdly differs from those on other items (structs, enums, unions, functions, impl blocks etc.) in that they don't have a smaller fonts size and are indented by 9 instead of 4 spaces (more precisely: for associated types it's 3 instead of 4 inside the
.item-decl
of the trait but 9 instead of 4 everywhere else).Tuple Structs
is rendered as
Compare that to
Unit Structs
Associated Types
Inside the
.item-decl
of the trait (3 spaces, big):In section Required Associated Types on the page of the trait (9 spaces):
On the implementer's page (9 spaces, big):
@rustbot label C-bug T-rustdoc A-rustdoc-ui
The text was updated successfully, but these errors were encountered: