rust-lang/rust-clippy

Lint: Implicit Deref

Open

#1,225 opened on Sep 14, 2016

View on GitHub
 (3 comments) (0 reactions) (1 assignee)Rust (10,406 stars) (1,391 forks)batch import
A-lintT-middlegood first issue

Description

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.

Contributor guide