rustdoc::clean::types::Type::is_doc_subtype_of has outdated example, and arguments are flipped #138572
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
it seems weird (and likely a mistake) to say
T
is a subtype ofu8
. the example refers to the function asis_same
, so perhaps the name was changed without thinking if the semantics make sense?The text was updated successfully, but these errors were encountered: