Skip to content

Wrong intra-doc links to methods on type aliases #149205

Description

@WojciechMula

Hi, first of all sorry if it's not the correct repository for reporting this kind of error, but I noticed this on docs.rs.

Steps to reproduce:

  1. Go to https://docs.rs/image/latest/image/type.RgbImage.html
  2. Find method get_pixel -- this item links to the trait method with URL fragment https://docs.rs/image/latest/image/struct.ImageBuffer.html#tymethod.get_pixel
  3. However, on the struct ImageMethod page, all methods have HTML anchors starting with method... not tymethod...
  4. As a result, clicking on the method name, moves us only to the trait's documentation, but not this specific method.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.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