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 |
||
|---|---|---|
| .. | ||
| auxiliary | ||
| run-pass | ||
| ui | ||
| ui-toml | ||
| compile-test.rs | ||
| dogfood.rs | ||
| matches.rs | ||
| needless_continue_helpers.rs | ||
| versioncheck.rs | ||