Skip to content

rustdoc doc(cfg) rendering gets ugly with long cfg expressions #87957

Closed
@jplatte

Description

@jplatte

I think long cfg expressions should be broken across multiple lines. I saw this cause issues here:

Screenshot_2021-08-12_120327

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-enhancementCategory: An issue proposing an enhancement or a PR with one.F-doc_cfg`#![feature(doc_cfg)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions