Skip to content

rustdoc: add [src] links to provided methods on a trait's page #45150

Description

@QuietMisdreavus

For example, here's a method on Iterator right now:

image

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.

Activity

  1. added
    T-rustdocRelevant 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.
    T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.
    on Oct 9, 2017
  2. QuietMisdreavus commented on Oct 9, 2017

    @QuietMisdreavus
    ContributorAuthor

    (Note: I created this issue just so i could mentor someone on it, so consider it claimed!)

  3. timotree3 commented on Sep 2, 2019

    @timotree3
    Contributor

    @QuietMisdreavus I want to take this on. I'm gonna start looking for the relevant parts of the code.

  4. timotree3 commented on Sep 2, 2019

    @timotree3
    Contributor

    I think the fix belongs somewhere in fn doc_impl_item, but I don't fully understand the function yet.

  5. timotree3 commented on Oct 31, 2019

    @timotree3
    Contributor

    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.

  6. 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
  7. jyn514 commented on Nov 5, 2020

    @jyn514
    Member

    Since it's been a few years, I think we can safely assume this issue is unclaimed.

  8. aDotInTheVoid commented on Nov 18, 2020

    @aDotInTheVoid
    Member

    @rustbot claim

  9. added 3 commits that reference this issue on Nov 19, 2020
    ab648d1
    d34c279
    192ed76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C-enhancementCategory: 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.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions