Skip to content

rustdoc has incorrect spacing for repr attributes #70027

Description

@varkor

See https://github.com/rust-lang/rust/pull/69686/files#diff-21534ccecd1da87ab2d0cbabae0ca694R19 for an example.

#[repr(C, align (8))]

There should not be a space between align and the opening parenthesis.

Activity

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

Metadata

Metadata

Labels

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