Skip to content

rustdoc: Add source links for impl #19637

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
SimonSapin opened this issue Dec 8, 2014 · 2 comments
Closed

rustdoc: Add source links for impl #19637

SimonSapin opened this issue Dec 8, 2014 · 2 comments

Comments

@SimonSapin
Copy link
Contributor

When documenting traits, rustdoc lists known implementations. From there it links to both the trait and the type it’s implemented on, which both (usually) have an [src] link.

However, the source code of an impl is not always next to either of them. Could each impl have an [src] link as well?

For example, it’s hard to go from http://doc.rust-lang.org/std/fmt/trait.Binary.html to https://github.com/rust-lang/rust/blob/master/src/libcore/fmt/num.rs , even grep doesn’t help.

@lifthrasiir
Copy link
Contributor

Duplicate for #15744 I think?

@SimonSapin
Copy link
Contributor Author

Indeed, sorry for the duplicate.

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