Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid slow zero-filling initialization
warning: slow zero-filling initialization --> src/tests/mod.rs:355:5 | 354 | let mut result = Vec::new(); | ---------- help: consider replacing this with: `vec![0; original.len()]` 355 | result.resize(original.len(), 0); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization = note: `#[warn(clippy::slow_vector_initialization)]` on by default
- Loading branch information