Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
CHr15F0x committed Feb 20, 2024
1 parent 751183e commit dc31aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/p2p_proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub mod proto {
pub mod header {
include!(concat!(env!("OUT_DIR"), "/starknet.header.rs"));
}
#[allow(clippy::large_enum_variant)]
pub mod receipt {
include!(concat!(env!("OUT_DIR"), "/starknet.receipt.rs"));
}
Expand Down
1 change: 1 addition & 0 deletions crates/p2p_proto/src/receipt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ pub struct ReceiptsRequest {
pub iteration: Iteration,
}

#[allow(clippy::large_enum_variant)]
#[derive(Debug, Default, Clone, PartialEq, Eq, Dummy)]
pub enum ReceiptsResponse {
Receipt(Receipt),
Expand Down

0 comments on commit dc31aa5

Please sign in to comment.