Skip to content

rustdoc: List functions that return the documented type #20187

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

Closed
sbward opened this issue Dec 24, 2014 · 2 comments
Closed

rustdoc: List functions that return the documented type #20187

sbward opened this issue Dec 24, 2014 · 2 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@sbward
Copy link

sbward commented Dec 24, 2014

It would be very useful to see all the functions which return a given type A on type A's rustdoc page.

Example: At the time of this posting, std::slice::IterMut is returned by the function fn iter_mut(&mut self) -> IterMut<T>; in the trait std::slice::SliceExt. As a consequence of this relationship, the documentation for std::slice::IterMut, should include a link to std::slice::SliceExt.

@huonw huonw added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Dec 24, 2014
@tomjakubowski
Copy link
Contributor

I think this is a dupe, in spirit, of the "search rustdoc by type (a la Hoogle)" issue which I can't find right now on mobile

@alexcrichton
Copy link
Member

I agree with @tomjakubowski, closing as a dupe of #12866.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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