From 7d2e900cbb01b956ef509be51b1090ffaa4bf5ba Mon Sep 17 00:00:00 2001 From: georgewhewell Date: Fri, 8 Oct 2021 15:14:16 +0100 Subject: [PATCH] fix: allow clippy::redundant_clone and clippy::type_complexity in abigen (#491) --- ethers-contract/ethers-contract-abigen/src/contract/common.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ethers-contract/ethers-contract-abigen/src/contract/common.rs b/ethers-contract/ethers-contract-abigen/src/contract/common.rs index a68fdc81..ae6fc371 100644 --- a/ethers-contract/ethers-contract-abigen/src/contract/common.rs +++ b/ethers-contract/ethers-contract-abigen/src/contract/common.rs @@ -16,6 +16,8 @@ pub(crate) fn imports(name: &str) -> TokenStream { quote! { #![allow(clippy::enum_variant_names)] #![allow(dead_code)] + #![allow(clippy::redundant_clone)] + #![allow(clippy::type_complexity)] #![allow(unused_imports)] #doc