Skip to content

rustdoc failed to pick up method summary comments in some cases #46783

Closed
@nodakai

Description

@nodakai

https://doc.rust-lang.org/nightly/std/?search=max_value

i8::max_value(), u8::max_value() and a few others have summaries as given in the source code, but i32::max_value(), u32::max_value() and a few others somehow don't.

This is perplexing when we recall the max_value() method impls are generated by macros https://github.com/rust-lang/rust/blob/master/src/libcore/num/mod.rs#L100

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.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