rust-lang/rust-clippy

Lint for unused arguments starting with a _

Open

#3.219 geöffnet am 25. Sept. 2018

Auf GitHub ansehen
 (11 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (1.391 Forks)batch import
A-lintL-stylegood first issue

Repository-Metriken

Stars
 (10.406 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19T 22h) (113 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide