Skip to content

Remove padding when code spans/code link spans are adjacent #62867

Description

@Nemo157

I used

[`Stream`](futures::stream::Stream)`<Item = `[`io::Result`](std::io::Result)`<`[`Bytes`](bytes::Bytes)`>>`

in some crates documentation which renders as

concated-code

There is currently a 0.1em padding applied inside all code spans causing the spacing to look weird. It seems like adjacent code spans (including ones wrapped inside <a>) should have the padding suppressed so they render as if they were one code span.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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

    No branches or pull requests

    Issue actions