encoding_rs icon indicating copy to clipboard operation
encoding_rs copied to clipboard

Fix clippy lints

Open nico-abram opened this issue 3 years ago • 1 comments

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

nico-abram avatar Jan 02 '22 01:01 nico-abram

I acknowledge that I have seen this, but I haven't had the time to evaluate this for performance impact.

hsivonen avatar Apr 03 '24 07:04 hsivonen