Skip to content

Add copy lint name function to Clippy's lint list #7959

Closed
@xFrednet

Description

@xFrednet

I often want to copy the lint name when searching for something on Clippy's lint list. It would be helpful to have a "copy lint name"-button next to the name, similar to the "link"-button that currently exist.

The current "link"-button looks like this:
image

The HTML document of the page can be found under util/gh-pages/index.html. cargo dev serve can be used to test the changes locally.

Main tracking issue #7172

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-websiteArea: Improving the clippy websiteC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions