From 746d8b7bf25e20bb01c890eb94431e485da27e3a Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Fri, 6 Aug 2021 14:47:57 +0200 Subject: [PATCH] chore(abigen): allow clippy enum variant names (#364) --- ethers-contract/ethers-contract-abigen/src/contract/common.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ethers-contract/ethers-contract-abigen/src/contract/common.rs b/ethers-contract/ethers-contract-abigen/src/contract/common.rs index ed19b867..4529b1b3 100644 --- a/ethers-contract/ethers-contract-abigen/src/contract/common.rs +++ b/ethers-contract/ethers-contract-abigen/src/contract/common.rs @@ -8,6 +8,7 @@ pub(crate) fn imports(name: &str) -> TokenStream { let doc = util::expand_doc(&format!("{} was auto-generated with ethers-rs Abigen. More information at: https://github.com/gakonst/ethers-rs", name)); quote! { + #![allow(clippy::enum_variant_names)] #![allow(dead_code)] #![allow(unused_imports)] #doc