Skip to content

Commit

Permalink
chore(sol-macro): allow clippy all when emitting contract bytecode (#674
Browse files Browse the repository at this point in the history
)
  • Loading branch information
DaniPopes authored Jun 20, 2024
1 parent 5c71dda commit b21b9f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/sol-macro-expander/src/expand/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ pub(super) fn expand(cx: &ExpCtxt<'_>, contract: &ItemContract) -> Result<TokenS
#[doc = #hex]
/// ```
#[rustfmt::skip]
#[allow(clippy::all)]
pub static #name: alloy_sol_types::private::Bytes =
alloy_sol_types::private::Bytes::from_static(#lit_bytes);
}
Expand All @@ -66,6 +67,7 @@ pub(super) fn expand(cx: &ExpCtxt<'_>, contract: &ItemContract) -> Result<TokenS
#[doc = #hex]
/// ```
#[rustfmt::skip]
#[allow(clippy::all)]
pub static #name: alloy_sol_types::private::Bytes =
alloy_sol_types::private::Bytes::from_static(#lit_bytes);
}
Expand Down

0 comments on commit b21b9f9

Please sign in to comment.