mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
fbc93c0166
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