rust-lang/rust-clippy

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

Open

#1,657 建立於 2017年4月3日

在 GitHub 查看
 (4 留言) (1 反應) (0 負責人)Rust (10,406 star) (1,391 fork)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