rust-lang/rust-clippy

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

Open

#2035 aperta il 9 set 2017

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Rust (1391 fork)batch import
A-lintL-unnecessaryT-middlegood first issue

Metriche repository

Star
 (10.406 star)
Metriche merge PR
 (Merge medio 19g 22h) (113 PR mergiate in 30 g)

Descrizione

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

Should be

let y = foo.bar.met();

If x is not used anywhere else

Guida contributor