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

Search should "follow" trait generics for parameter and return tabs #266

Closed
akatechis opened this issue Nov 25, 2018 · 3 comments
Closed

Comments

@akatechis
Copy link

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
Copy link
Member

Can you please re-file this on https://github.com/rust-lang/rust/issues ? This is more of an upstream rustdoc issue, rather than something specific to docs.rs.

@akatechis
Copy link
Author

Sure can. Thanks!

@QuietMisdreavus
Copy link
Member

I see it now, thanks so much! I'll close this issue in favor of that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants