Skip to content

Commit

Permalink
Ignore some clippy advice
Browse files Browse the repository at this point in the history
  • Loading branch information
garious committed Mar 22, 2018
1 parent 117ab0c commit fa44be2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/accountant_skel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub struct AccountantSkel {
pub ledger: Vec<Entry>,
}

#[cfg_attr(feature = "cargo-clippy", allow(large_enum_variant))]
#[derive(Serialize, Deserialize, Debug)]
pub enum Request {
Transaction(Transaction),
Expand Down
1 change: 1 addition & 0 deletions src/recorder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit fa44be2

Please sign in to comment.