Skip to content

Commit

Permalink
Remove unused import, Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Aug 21, 2023
1 parent be96499 commit a5b413f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion sdk/src/types/block/mana/allotment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down
1 change: 0 additions & 1 deletion sdk/tests/client/signing/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ use iota_sdk::{
},
protocol::protocol_parameters,
rand::mana::rand_mana_allotment,
rand::output::rand_account_id,
unlock::{SignatureUnlock, Unlock},
},
};
Expand Down
1 change: 0 additions & 1 deletion sdk/tests/client/signing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ use iota_sdk::{
},
protocol::protocol_parameters,
rand::mana::rand_mana_allotment,
rand::output::rand_account_id,
unlock::{SignatureUnlock, Unlock},
},
};
Expand Down
1 change: 0 additions & 1 deletion sdk/tests/client/signing/nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ use iota_sdk::{
},
protocol::protocol_parameters,
rand::mana::rand_mana_allotment,
rand::output::rand_account_id,
unlock::{SignatureUnlock, Unlock},
},
};
Expand Down

0 comments on commit a5b413f

Please sign in to comment.