Skip to content

rustdoc: Descriptions on statics disrupt the layout #16150

Closed
@passcod

Description

@passcod

Using this sample source file: https://gist.github.com/passcod/748067f10d2aa4ecaa4e

Single-line description on static:

static-doc-1


Multi-line:

static-doc-2


That makes documenting statics useless at best when rendering the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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