encoding_rs
encoding_rs copied to clipboard
Fix clippy lints
This PR fixes clippy lints that showed up on clippy 1.56.1
Lints that showed up multiple times were:
- Add clippy:: prefix to lint allow()s
- Use matches!
- Replace range check with (a..b).contains()
- Remove unnecessary 'static from statics
I acknowledge that I have seen this, but I haven't had the time to evaluate this for performance impact.