Fix clippy lints instead of ignoring them
While daunting look at when at least two warnings show up per offending line, clippy lints are usually sensible and improve code quality/readability.
Also remove some lints that do not seem to exist anymore and/or are not violated (anymore?).
Cleans up !674 (merged)
Edited by Marijn Suijten