mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
62f40e28b9
Fix documentation for `slow_vector_initialization` This PR fixes the documentation for the lint `slow_vector_initialization`. The documentation recommended writing `vec![len; 0]` but the correct solution is `vec![0; len]`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |