From a5b413fff834215cb40db2edd41a8d0ec82d6b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thoralf=20M=C3=BCller?= Date: Mon, 21 Aug 2023 21:21:17 +0200 Subject: [PATCH] Remove unused import, Clippy --- sdk/src/types/block/mana/allotment.rs | 2 +- sdk/tests/client/signing/account.rs | 1 - sdk/tests/client/signing/mod.rs | 1 - sdk/tests/client/signing/nft.rs | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sdk/src/types/block/mana/allotment.rs b/sdk/src/types/block/mana/allotment.rs index f34f3a4d31..01444aef37 100644 --- a/sdk/src/types/block/mana/allotment.rs +++ b/sdk/src/types/block/mana/allotment.rs @@ -68,7 +68,7 @@ impl Packable for ManaAllotment { let account_id = AccountId::unpack::<_, VERIFY>(unpacker, visitor).coerce()?; let mana = u64::unpack::<_, VERIFY>(unpacker, visitor).coerce()?; - Ok(Self::new(account_id, mana).map_err(UnpackError::Packable)?) + Self::new(account_id, mana).map_err(UnpackError::Packable) } } diff --git a/sdk/tests/client/signing/account.rs b/sdk/tests/client/signing/account.rs index 97153b917b..e884c30d9d 100644 --- a/sdk/tests/client/signing/account.rs +++ b/sdk/tests/client/signing/account.rs @@ -24,7 +24,6 @@ use iota_sdk::{ }, protocol::protocol_parameters, rand::mana::rand_mana_allotment, - rand::output::rand_account_id, unlock::{SignatureUnlock, Unlock}, }, }; diff --git a/sdk/tests/client/signing/mod.rs b/sdk/tests/client/signing/mod.rs index c769a36661..469b1ab37f 100644 --- a/sdk/tests/client/signing/mod.rs +++ b/sdk/tests/client/signing/mod.rs @@ -28,7 +28,6 @@ use iota_sdk::{ }, protocol::protocol_parameters, rand::mana::rand_mana_allotment, - rand::output::rand_account_id, unlock::{SignatureUnlock, Unlock}, }, }; diff --git a/sdk/tests/client/signing/nft.rs b/sdk/tests/client/signing/nft.rs index 189aae7f8d..aa48cbe97e 100644 --- a/sdk/tests/client/signing/nft.rs +++ b/sdk/tests/client/signing/nft.rs @@ -24,7 +24,6 @@ use iota_sdk::{ }, protocol::protocol_parameters, rand::mana::rand_mana_allotment, - rand::output::rand_account_id, unlock::{SignatureUnlock, Unlock}, }, };