rust-lang/rust-clippy

Lint: Implicit Deref

Open

#1 225 ouverte le 14 sept. 2016

Voir sur GitHub
 (3 commentaires) (0 réactions) (1 assigné)Rust (1 391 forks)batch import
A-lintT-middlegood first issue

Métriques du dépôt

Stars
 (10 406 stars)
Métriques de merge PR
 (Merge moyen 19j 22h) (113 PRs mergées en 30 j)

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.

Guide contributeur