We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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.
0
Example code:
fn main() { let mut v = Vec::new(); v.resize(0, 1024); }