Skip to content

Commit

Permalink
chore: apply rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rabe1028 committed Mar 18, 2024
1 parent d7e8869 commit 89a0d46
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/config/did.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use home_config::HomeConfig;
use serde::{Deserialize, Serialize};
use std::error::Error;
use std::fs;
use std::fs::OpenOptions;
use std::io;
use std::io::Write;
use std::path::Path;
use std::error::Error;
use thiserror::Error;

#[derive(Debug, Clone, Deserialize, Serialize)]
Expand Down
2 changes: 1 addition & 1 deletion src/nodex/extension/secure_keystore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use std::{ffi::CStr, num::NonZeroU32};
use thiserror::Error;

use crate::{
config::did_config,
config::did::{Extension, KeyPair},
config::did_config,
};

#[repr(C)]
Expand Down
2 changes: 1 addition & 1 deletion src/nodex/extension/trng.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{
config::{did_config, did::Extension},
config::{did::Extension, did_config},
nodex::runtime::random::{Random, RandomError},
};
use std::{ffi::CStr, num::NonZeroU32};
Expand Down
6 changes: 1 addition & 5 deletions src/nodex/keyring/keypair.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
use super::secp256k1::{Secp256k1, Secp256k1Context, Secp256k1Error};
use crate::{
config::{
did_config,
SingletonDidConfig,
did::KeyPair
},
config::{did::KeyPair, did_config, SingletonDidConfig},
nodex::{
extension::secure_keystore::{SecureKeyStore, SecureKeyStoreType},
extension::{secure_keystore::SecureKeyStoreError, trng::Trng},
Expand Down
2 changes: 1 addition & 1 deletion src/nodex/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ pub mod keyring;
pub mod runtime;
pub mod schema;
pub mod sidetree;
pub mod utils;
pub mod utils;

0 comments on commit 89a0d46

Please sign in to comment.