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 and klkvr committed Aug 4, 2024
1 parent 75cc6e1 commit 964b836
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: &mut ExpCtxt<'_>, contract: &ItemContract) -> Result<To
#[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: &mut ExpCtxt<'_>, contract: &ItemContract) -> Result<To
#[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 964b836

Please sign in to comment.