Skip to content

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

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

Activity

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

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