rust-lang/rust-clippy

Lint for unused arguments starting with a _

Open

#3 219 ouverte le 25 sept. 2018

Voir sur GitHub
 (11 commentaires) (0 réactions) (0 assignés)Rust (1 391 forks)batch import
A-lintL-stylegood first issue

Métriques du dépôt

Stars
 (10 406 stars)
Métriques de merge PR
 (Merge moyen 19j 22h) (113 PRs mergées en 30 j)

Description

In response to this comment

I think the idea here would be to recommend removal of arguments that are ignored and never referenced.

On the flip side, I'm wondering if it would make sense to also lint for used arguments starting _ which recommends removing the _, because that came up in the same review.

Guide contributeur