rust-lang/rust-clippy

Lint for unused arguments starting with a _

Open

#3.219 aberto em 25 de set. de 2018

Ver no GitHub
 (11 comments) (0 reactions) (0 assignees)Rust (1.391 forks)batch import
A-lintL-stylegood first issue

Métricas do repositório

Stars
 (10.406 stars)
Métricas de merge de PR
 (Mesclagem média 19d 22h) (113 fundiu PRs em 30d)

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.

Guia do colaborador