From 1572fe8509aa91ba9278499c11ee59600ef9c896 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Mon, 12 Feb 2024 16:21:03 +0000 Subject: [PATCH] chore: fixes clippy redundant_closure_call error inside macros (https://github.com/rust-lang/rust-clippy/issues/1553) --- precompiles/utils/src/testing/account.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/precompiles/utils/src/testing/account.rs b/precompiles/utils/src/testing/account.rs index b4062ecd75..acc0010ab2 100644 --- a/precompiles/utils/src/testing/account.rs +++ b/precompiles/utils/src/testing/account.rs @@ -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) } }