Updating code according to clippy. (#1048)

- Adding `Eq` where possible
- Denied the ref deref warnings as it was spamming and solution not
  really better.
This commit is contained in:
Nicolas Patry
2022-08-24 19:45:15 +02:00
committed by GitHub
parent 67c56adf68
commit b1c9bc68b5
25 changed files with 50 additions and 46 deletions

View File

@ -847,18 +847,19 @@ dependencies = [
[[package]]
name = "macro_rules_attribute"
version = "0.0.2"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "641c64af6cd80b81cf9c2f2f6ee382b1050c71ce63e20800499971a4a4195005"
checksum = "258c86475e1616d6f2d8f5227cfaabd3dae1f6d5388b9597df8a199d4497aba7"
dependencies = [
"macro_rules_attribute-proc_macro",
"paste",
]
[[package]]
name = "macro_rules_attribute-proc_macro"
version = "0.0.2"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb246ada5a8c47b8b6e90c9f9a0f84f294939cdf558f1bc8d17fbb30f9706598"
checksum = "f26a8d2502d5aa4d411ef494ba7470eb299f05725179ce3b5de77aa01a9ffdea"
[[package]]
name = "matches"
@ -1182,9 +1183,9 @@ dependencies = [
[[package]]
name = "paste"
version = "1.0.6"
version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0744126afe1a6dd7f394cb50a716dbe086cb06e255e53d8d0185d82828358fb5"
checksum = "9423e2b32f7a043629287a536f21951e8c6a82482d0acb1eeebfc90bc2225b22"
[[package]]
name = "percent-encoding"