chore(abigen): allow clippy enum variant names (#364)

This commit is contained in:
Georgios Konstantopoulos 2021-08-06 14:47:57 +02:00 committed by GitHub
parent b0b4f4e09e
commit 746d8b7bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)); let doc = util::expand_doc(&format!("{} was auto-generated with ethers-rs Abigen. More information at: https://github.com/gakonst/ethers-rs", name));
quote! { quote! {
#![allow(clippy::enum_variant_names)]
#![allow(dead_code)] #![allow(dead_code)]
#![allow(unused_imports)] #![allow(unused_imports)]
#doc #doc