rust-lang/rust-clippy

Lint: Implicit Deref

Open

#1225 aperta il 14 set 2016

Vedi su GitHub
 (3 commenti) (0 reazioni) (1 assegnatario)Rust (1391 fork)batch import
A-lintT-middlegood first issue

Metriche repository

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

Descrizione

Basically, an #[allow] by default lint that tells you when you are referencing a value implicitly (e.g. String::new().chars() is really (*String::new()).chars().

Rationale is that somebody out there might actually want their code to have as minimal implicit behaviour as possible.

Guida contributor