Skip to content

[rustdoc] Anchors to trait implementations always point to the first #32552

@azerupi

Description

@azerupi

The anchors that Rustdoc generates for multiple implementations of a trait (like Add for multiple different rhs) always point to the first implementation.

If you take a look to rust-sfml Vector2f, it implements impl Add<f32> for Vector2f and impl Add for Vector2f. But both anchors are the same:
http://www.rust-sfml.org/doc/rsfml/system/vector2/struct.Vector2f.html#method.add

You can't link to the second implementation...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions