Closed
Description
There are a number of inconsistencies in the current rustdoc renders, including:
- The method listing for structs/enums has a different look from that for traits. For example, the method heading for structs/enums is bolder than that for traits (
font-weight: 600
vs.font-weight: 400
). - Several non-generated headings (e.g. "Required Methods" in the trait) don't have a link to self.
- Why is the stability index rendered as
<a>
instead of<span>
? - Item listings in the module should have one-line descriptions, but sometimes descriptions span more than one line (e.g.
std::kinds::marker
). I suspect that's becausecode
haswhite-space: pre-wrap
attribute everywhere;.docblock.short code { white-space: nowrap; }
seems to solve that (not sure).
Metadata
Metadata
Assignees
Labels
No labels