Skip to content

Rustdoc should pick up docs for tuple struct and enum fields #42615

Closed
@TedDriggs

Description

@TedDriggs

Rustdoc should expose doc comments written on tuple fields:

pub struct Foo(
    /// Hello docs
    String
);

Tagging @QuietMisdreavus @GuillaumeGomez based on conversation on IRC.

Metadata

Metadata

Assignees

No one assigned

    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