rust/clippy_lints
bors 976850b69b Auto merge of #6538 - Jarcho:vec_init_then_push, r=llogiq
New lint: vec_init_then_push

fixes: #1483

This will trigger on `new`, `default`, and `with_capacity` when the given capacity is less than or equal to the number of push calls. Is there anything else this should trigger on?

changelog: Added lint: `vec_init_then_push`
2021-01-04 20:42:18 +00:00
..
src Auto merge of #6538 - Jarcho:vec_init_then_push, r=llogiq 2021-01-04 20:42:18 +00:00
Cargo.toml Bump Clippy version to 0.1.51 2021-01-02 16:26:10 +01:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

This crate contains Clippy lints. For the main crate, check GitHub.