Repository navigation
rustdoc: add [src] links to provided methods on a trait's page #45150
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Activity
- addedT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
on Oct 9, 2017 (Note: I created this issue just so i could mentor someone on it, so consider it claimed!)
@QuietMisdreavus I want to take this on. I'm gonna start looking for the relevant parts of the code.
I think the fix belongs somewhere in
fn doc_impl_item, but I don't fully understand the function yet.My bad, I guess you mean that there is a specific person you're mentoring on it. Not that you want to mentor whoever takes it on.
- changed the title
[-]rustdoc: add [src] links to items on a trait's page[/-][+]rustdoc: add [src] links to provided methods on a trait's page[/+]on Nov 5, 2020 Since it's been a few years, I think we can safely assume this issue is unclaimed.
Reacted by Noah Lev@rustbot claim
Reacted by jyn- added 3 commits that reference this issue
on Nov 19, 2020
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
For example, here's a method on Iterator right now:
Since this is a provided method, there's a worthwhile implementation to link to, so it would be nice to be able to link to it's implementation, by adding a
[src]link to the method header here.