rust-lang/rust-clippy

Lint: Implicit Deref

Open

#1.225 geöffnet am 14. Sept. 2016

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Rust (1.391 Forks)batch import
A-lintT-middlegood first issue

Repository-Metriken

Stars
 (10.406 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19T 22h) (113 gemergte PRs in 30 T)

Beschreibung

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