Don't lint `vec_init_then_push` when further extended fixes #7071 This will still lint when a larger number of pushes are done (four currently). The exact number could be debated, but this is more readable then a sequence of pushes so it shouldn't be too large. changelog: Don't lint `vec_init_then_push` when further extended. changelog: Remove `mut` binding from `vec_init_then_push` when possible. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||