rust-lang/rust-clippy

Lint `let mut x = x;` where `x` is a function argument

Open

#1,657 opened on 2017年4月3日

GitHub で見る
 (4 comments) (1 reaction) (0 assignees)Rust (1,391 forks)batch import
A-lintL-unnecessaryT-middlegood first issue

Repository metrics

Stars
 (10,406 stars)
PR merge metrics
 (平均マージ 19d 22h) (30d で 113 merged PRs)

説明

The argument should be made mutable instead of rebinding it to mutable.

コントリビューターガイド