Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warning: usage of `FromIterator::from_iter` --> src/cmd/stats.rs:789:27 | 789 | work_br = csv::ByteRecord::from_iter(vec![&*header].into_iter().chain(stat)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `.collect()` instead of `::from_iter()`: `vec![&*header].into_iter().chain(stat).collect::<csv::ByteRecord<_>>()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_iter_instead_of_collect = note: `-W clippy::from-iter-instead-of-collect` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::from_iter_instead_of_collect)]` warning: implicitly cloning a `ByteRecord` by calling `to_owned` on its dereferenced type --> src/cmd/stats.rs:803:31 | 803 | stats_br_vec.push(dataset_stats_br.to_owned()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `dataset_stats_br.clone()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone = note: `-W clippy::implicit-clone` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::implicit_clone)]` warning: implicitly cloning a `ByteRecord` by calling `to_owned` on its dereferenced type --> src/cmd/stats.rs:812:31 | 812 | stats_br_vec.push(dataset_stats_br.to_owned()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `dataset_stats_br.clone()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone warning: implicitly cloning a `ByteRecord` by calling `to_owned` on its dereferenced type --> src/cmd/stats.rs:825:31 | 825 | stats_br_vec.push(dataset_stats_br.to_owned()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `dataset_stats_br.clone()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone
- Loading branch information