mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
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.