Skip to content

rustdoc: Duplicated trait entries if re-exported from multiple modules #43934

Closed
@sdroege

Description

@sdroege

If you generate the docs of
https://github.com/sdroege/gstreamer-rs/tree/50a1535771d711b419eee499fb6b7c48d72edd86
there will be multiple entries linking to the same traits on the main page of the docs.

Reason here is that the traits are re-exported in lib.rs from auto::* and auto::traits::*. Removing the latter fixes it and has no negative side effects in this specific case, but having the entries there twice was confusing nonetheless.

@GuillaumeGomez

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.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