Specific implementations on wrapper types should show up on the page of the inner type #55551
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
A-trait-system
Area: Trait system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Currently, with the following code:
the impl appears on the page for
Rc
, even though it's more relevant forFoo
.Provide a way to mark a type as a wrapper type, such that an impl where its first generic parameter is a single type (which may itself be generic, e.g.
Rc<Option<T>>
) appears on the page of that type.It may be worth automatically doing this for
#[fundamental]
typesThe text was updated successfully, but these errors were encountered: