From c314c50b33c09e6f3e9449bc9d80b3d9fca63fca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Bro=C5=84ski?= Date: Tue, 13 Feb 2024 15:47:29 +0100 Subject: [PATCH] Format imports. Used the following `rustfmt.toml`: ``` unstable_features = true imports_granularity = "Module" ``` --- kairos-cli/bin/crypto/public_key.rs | 3 +-- kairos-cli/bin/crypto/signer.rs | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/kairos-cli/bin/crypto/public_key.rs b/kairos-cli/bin/crypto/public_key.rs index c4bb478a..42824d0f 100644 --- a/kairos-cli/bin/crypto/public_key.rs +++ b/kairos-cli/bin/crypto/public_key.rs @@ -1,6 +1,5 @@ use crate::crypto::error::CryptoError; -use casper_types::bytesrepr::FromBytes; -use casper_types::bytesrepr::ToBytes; +use casper_types::bytesrepr::{FromBytes, ToBytes}; #[derive(Clone)] pub struct CasperPublicKey(pub casper_types::PublicKey); diff --git a/kairos-cli/bin/crypto/signer.rs b/kairos-cli/bin/crypto/signer.rs index bf237f72..1d42d058 100644 --- a/kairos-cli/bin/crypto/signer.rs +++ b/kairos-cli/bin/crypto/signer.rs @@ -3,8 +3,8 @@ use std::path::PathBuf; use super::private_key::CasperPrivateKey; use super::public_key::CasperPublicKey; use crate::crypto::error::CryptoError; -use casper_types::{bytesrepr::ToBytes, SecretKey}; -use casper_types::{crypto, PublicKey}; +use casper_types::bytesrepr::ToBytes; +use casper_types::{crypto, PublicKey, SecretKey}; pub struct CasperSigner { secret_key: CasperPrivateKey,