Skip to content

rustdoc: stability and portability "pills" are sometimes broken to the next line #93177

Open
@euclio

Description

@euclio

Screenshot demonstrating the issue:

Screen Shot 2022-01-21 at 12 50 45 PM

See https://doc.rust-lang.org/nightly/std/intrinsics/index.html for more examples.

I would expect these pills to stay on the same line as the item name except in the case of very long function names.

Meta

rustc --version --verbose:

rustc 1.58.1 (db9d1b20b 2022-01-20)
binary: rustc
commit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b
commit-date: 2022-01-20
host: x86_64-apple-darwin
release: 1.58.1
LLVM version: 13.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.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