Skip to content

Commit

Permalink
chore: fixes clippy redundant_closure_call error inside macros (rust-…
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Feb 12, 2024
1 parent bdfb008 commit 1572fe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions precompiles/utils/src/testing/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ macro_rules! mock_account {
(# $name:ident, $convert:expr) => {
impl From<$name> for MockAccount {
fn from(value: $name) -> MockAccount {
#[allow(clippy::redundant_closure_call)]
$convert(value)
}
}
Expand Down

0 comments on commit 1572fe8

Please sign in to comment.