Skip to content

rustdoc: short vertical spacing on associated types #103782

@jsha

Description

@jsha
Contributor

On https://doc.rust-lang.org/nightly/std/ascii/struct.EscapeDefault.html#impl-Iterator-for-EscapeDefault, the spacing below type Item = u8 and below Item's docblock is too short. Nightly:

image

Stable (correct):

image

I think this is related to #103364, since the selector that is supposed to give the summary a margin-bottom: 0.75em; changed from .implementors-toggle summary to .implementors-toggle > summary.

/cc @notriddle

Activity

added
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
A-rustdoc-uiArea: Rustdoc UI (generated HTML)
on Oct 31, 2022
added 2 commits that reference this issue on Nov 1, 2022
791f04e
2c7f137
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @jsha

      Issue actions

        rustdoc: short vertical spacing on associated types · Issue #103782 · rust-lang/rust