Skip to content

rustdoc: "copy path" icon should have a title attribute #84639

Closed
@jsha

Description

@jsha

To indicate what it does, i.e. "Copy use declaration to clipboard." Also, right now the action is triggered by an onclick= attribute in the HTML. It would be slightly nicer to use addEventListener in main.js, so it's easy to see in one place where all handlers are added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-enhancementCategory: An issue proposing an enhancement or a PR with one.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