Skip to content

Wrong links to trait methods #149205

@WojciechMula

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.

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