Skip to content

Commit

Permalink
Format imports.
Browse files Browse the repository at this point in the history
Used the following `rustfmt.toml`:

```
unstable_features = true
imports_granularity = "Module"
```
  • Loading branch information
koxu1996 committed Feb 13, 2024
1 parent 5dcfe28 commit c314c50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions kairos-cli/bin/crypto/public_key.rs
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
4 changes: 2 additions & 2 deletions kairos-cli/bin/crypto/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c314c50

Please sign in to comment.