diff options
author | Christian Poveda <christian.poveda@ferrous-systems.com> | 2022-10-03 13:02:03 -0500 |
---|---|---|
committer | Christian Poveda <christian.poveda@ferrous-systems.com> | 2022-10-03 13:02:17 -0500 |
commit | cebdedcc40f55d85d1370455c9d596a7c4ac1a19 (patch) | |
tree | 04254cf657b17ab8de1883bfcfde821bc6ebbe8c /src/ir/enum_ty.rs | |
parent | 15aef5e43b9ad756887e4329b87908da638bcc60 (diff) |
address clippy lints
Diffstat (limited to 'src/ir/enum_ty.rs')
-rw-r--r-- | src/ir/enum_ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/enum_ty.rs b/src/ir/enum_ty.rs index 2b039a4f..123d1d79 100644 --- a/src/ir/enum_ty.rs +++ b/src/ir/enum_ty.rs @@ -165,7 +165,7 @@ impl Enum { return false; } - self.variants().iter().any(|v| enums.matches(&v.name())) + self.variants().iter().any(|v| enums.matches(v.name())) } /// Returns the final representation of the enum. |