To be more specific, I've only fixed stuff that has actual impact on the performance or is a severe anti-pattern in idiomatic Rust.
Command used:
cargo clippy --features=unstable --tests -- \
-A clippy::collapsible_if \
-A clippy::derive_partial_eq_without_eq \
-A clippy::zero_ptr \
-A clippy::manual_strip \
-A clippy::new_ret_no_self \
-A clippy::type_complexity \
-A clippy::vec_init_then_push \
-A clippy::while_let_on_iterator \
-A clippy::useless_format \
-A clippy::too_many_arguments \
-A clippy::clone_on_copy
To be more specific, I've only fixed stuff that has actual impact on the performance or is a severe anti-pattern in idiomatic Rust.
Command used: