rust-lang/rust-clippy

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

Open

#1,657 opened on Apr 3, 2017

 (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
 (PR metrics pending)

Description

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

Contributor guide