rust-lang/rust-clippy

Lint: Implicit Deref

Open

#1,225 建立於 2016年9月14日

在 GitHub 查看
 (3 留言) (0 反應) (1 負責人)Rust (10,406 star) (1,391 fork)batch import
A-lintT-middlegood first issue

描述

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.

貢獻者指南