rust-lang/rust-clippy

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

Open

#1,657 opened on 2017年4月3日

GitHub で見る
 (4 comments) (1 reaction) (0 assignees)Rust (10,406 stars) (1,391 forks)batch import
A-lintL-unnecessaryT-middlegood first issue

説明

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

コントリビューターガイド

Lint `let mut x = x;` where `x` is a function argument · rust-lang/rust-clippy#1657 | Good First Issue