Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RustDoc: Search should "follow" trait generics for parameter and return tabs #56386

Closed
akatechis opened this issue Nov 30, 2018 · 3 comments
Closed
Assignees
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@akatechis
Copy link

akatechis commented Nov 30, 2018

Repost from rust-lang/docs.rs#266

If I search the name of a trait, it would be nice to see matches for parameter and return tabs for functions that include that trait as a trait bound.

In the screenshot below, State is a trait of the kiss3d crate, and the render_with_state shown has <S: State> trait bounds on it, so it would be nice to see that function under the "In parameters" tab as well. Ditto for functions where the trait object is returned.

image

@QuietMisdreavus QuietMisdreavus added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. C-feature-request Category: A feature request, i.e: not implemented / a PR. labels Nov 30, 2018
@GuillaumeGomez GuillaumeGomez self-assigned this Dec 1, 2018
@GuillaumeGomez
Copy link
Member

It'll be working once #59004 is merged.

@kadiwa4
Copy link
Contributor

kadiwa4 commented Jan 25, 2023

It is fixed indeed.

@GuillaumeGomez
Copy link
Member

GuillaumeGomez commented Jan 26, 2023

Closing then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants