From 4d0ecddc87eaf730cf7e78beb44caffb7c6dcb12 Mon Sep 17 00:00:00 2001 From: dimxy Date: Sun, 26 Nov 2023 17:31:20 +0500 Subject: [PATCH] fix deadcode clippy --- mm2src/trezor/src/eth/eth_command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm2src/trezor/src/eth/eth_command.rs b/mm2src/trezor/src/eth/eth_command.rs index 217f155ed7..564f8e0be4 100644 --- a/mm2src/trezor/src/eth/eth_command.rs +++ b/mm2src/trezor/src/eth/eth_command.rs @@ -41,7 +41,7 @@ fn get_eth_network_def(chain_id: ChainId) -> Option> { } /// get token definition by token contract address and chain id -#[warn(dead_code)] +#[allow(dead_code)] fn get_eth_token_def(address_bytes: &[u8], chain_id: ChainId) -> Option> { ETH_TOKEN_DEFS .iter()