rust-lang/rust-clippy

Lint for unused arguments starting with a _

Open

#3,219 建立於 2018年9月25日

在 GitHub 查看
 (11 留言) (0 反應) (0 負責人)Rust (1,391 fork)batch import
A-lintL-stylegood first issue

倉庫指標

Star
 (10,406 star)
PR 合併指標
 (平均合併 19天 22小時) (30 天內合併 113 個 PR)

描述

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.

貢獻者指南