rust-lang/rust-clippy

lint variable assignments that could be part of a method/field chain

Open

#2,035 opened on 2017年9月9日

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

説明

let x = foo.bar;
let y = x.met();

Should be

let y = foo.bar.met();

If x is not used anywhere else

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