Skip to content

Rustdoc doesn't show the struct field docs #5621

Closed
@lifthrasiir

Description

@lifthrasiir

For example, rustdoc output for this code only shows a doc for A but not for x and y.

#[doc="A"] pub struct A { #[doc="x"] x: int, #[doc="y"] y: ~str }

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