Skip to content

rustdoc::clean::types::Type::is_doc_subtype_of has outdated example, and arguments are flipped #138572

Description

@lolbinarycat

it seems weird (and likely a mistake) to say T is a subtype of u8. the example refers to the function as is_same, so perhaps the name was changed without thinking if the semantics make sense?

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-cleanupCategory: PRs that clean code up or issues documenting cleanup.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