rust-lang/rust-clippy

Lint: Implicit Deref

Open

#1.225 aberto em 14 de set. de 2016

Ver no GitHub
 (3 comments) (0 reactions) (1 assignee)Rust (1.391 forks)batch import
A-lintT-middlegood first issue

Métricas do repositório

Stars
 (10.406 stars)
Métricas de merge de PR
 (Mesclagem média 19d 22h) (113 fundiu PRs em 30d)

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.

Guia do colaborador