Commit Graph

5 Commits

Author SHA1 Message Date
Oliver Scherer b8654eaa6c Stabilize tool lints 2018-10-11 12:16:22 +02:00
Manish Goregaokar e9c025ea70 Add license header to Rust files 2018-10-06 09:43:08 -07:00
Josh Holmer 48e6be42d7 Rustup 2018-09-03 23:50:24 -04:00
Josh Holmer dfed9751bd Majority of PR changes 2018-09-03 23:29:44 -04:00
Josh Holmer fbc93c0166 Lint against needless uses of `collect()`
Handles cases of `.collect().len()`, `.collect().is_empty()`, and
`.collect().contains()`. This lint is intended to be generic enough to
be added to at a later time with other similar patterns that could be
optimized.

Closes #3034
2018-09-03 23:29:44 -04:00