rust-lang/rust-clippy

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

Open

#1.657 geöffnet am 3. Apr. 2017

Auf GitHub ansehen
 (4 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (1.391 Forks)batch import
A-lintL-unnecessaryT-middlegood first issue

Repository-Metriken

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

Beschreibung

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

Contributor Guide