Apply clippy to the tests and the whole workspace
- By default,
clippy
only lints code that is reached bycargo build
, not the tests, and the main package only. Make it lint the tests and the other workspace crates, too. - Apply fixes.
-
#[allow(clippy::needless_collect)]
in one place, I don't see a straight-forward fix.
Edited by Nora Widdecke