Cherry picking of lints from clippy::pedantic / clippy::nursery / clippy::unwrap_used / clippy::expect_used
Notable changes :
- consideration of all clippy::use-self lints
- replaced sort() by unstable_sort()
- use of map_or_else() when appropriate
- replaced "".to_string() by String::new()
- replaced collect() + len() by count()
The code base now passes all the clippy::nursery lints
---------
Co-authored-by: w1nst0n <w1nst0n@keemail.me>