rust-lang/rust-clippy

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

Open

#1.657 aberto em 3 de abr. de 2017

Ver no GitHub
 (4 comments) (1 reaction) (0 assignees)Rust (1.391 forks)batch import
A-lintL-unnecessaryT-middlegood first issue

Métricas do repositório

Stars
 (10.406 stars)
Métricas de merge de PR
 (Mesclagem média 19d 22h) (113 fundiu PRs em 30d)

Description

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

Guia do colaborador