rust-lang/rust-clippy

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

Open

#1657 aperta il 3 apr 2017

Vedi su GitHub
 (4 commenti) (1 reazione) (0 assegnatari)Rust (1391 fork)batch import
A-lintL-unnecessaryT-middlegood first issue

Metriche repository

Star
 (10.406 star)
Metriche merge PR
 (Merge medio 19g 22h) (113 PR mergiate in 30 g)

Descrizione

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

Guida contributor