From fa44be2a9dbc1e658cf48ba324e78dafae931570 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Thu, 22 Mar 2018 14:59:25 -0600 Subject: [PATCH] Ignore some clippy advice --- src/accountant_skel.rs | 1 + src/recorder.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/accountant_skel.rs b/src/accountant_skel.rs index af55b73b34..6ff75b830b 100644 --- a/src/accountant_skel.rs +++ b/src/accountant_skel.rs @@ -21,6 +21,7 @@ pub struct AccountantSkel { pub ledger: Vec, } +#[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] #[derive(Serialize, Deserialize, Debug)] pub enum Request { Transaction(Transaction), diff --git a/src/recorder.rs b/src/recorder.rs index 0a5a0bc145..a590cd8783 100644 --- a/src/recorder.rs +++ b/src/recorder.rs @@ -12,6 +12,7 @@ use hash::{hash, Hash}; use entry::{create_entry_mut, Entry}; use event::Event; +#[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))] pub enum Signal { Tick, Event(Event),