rust-lang/rust-clippy

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

Open

#1,657 opened on Apr 3, 2017

View on 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
 (Avg merge 19d 22h) (113 merged PRs in 30d)

Description

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

Contributor guide