<!-- Hi there! Whether you've come to make a suggestion for a new lint, an improvement to an existing lint or to report a bug or a false positive in Clippy, you've come to the right place. For bug reports and false positives, please include the output of `cargo clippy -V` in the report. Thank you for using Clippy! Write your comment below this line: --> Clippy should inform about passing `0` as length to resize. It's not useful, and it's likely a mistake caused by swapping the parameter order. Example code: ```rust fn main() { let mut v = Vec::new(); v.resize(0, 1024); } ```