Skip to content

Linkify more things in rustdoc #24484

Closed
Closed
@mdinger

Description

@mdinger

A page like vec has many things that could be useful to link to. These should be possible to link to by clicking on:

  • The Trait Implementations header
  • impl's on a page.
  • Methods at the top

On index it's hit or miss:

  • Examples
  • Associated Types
  • Required Methods
  • Implementors

On clone

  • Provided Methods

I don't have any big use cases but when I want to link to these for something like this bug I can't link to any specific line. I gotta say go to vec page, scroll 75% to bottom. Squint hard to see it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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