Skip to content

rustdoc still displays "pub" for an exported copy of struct-like enum variants #32545

Closed
@nodakai

Description

@nodakai

Continued from #32395

Apparently #32423 was not a complete fix.

https://doc.rust-lang.org/nightly/std/ops/enum.RangeInclusive.html

pub enum RangeInclusive<Idx> {
    pub Empty {
        at: Idx,
    },
    pub NonEmpty {
        start: Idx,
        end: Idx,
    },
}

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