Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
marcianos committed Mar 18, 2021
1 parent 7b504f0 commit 2065bae
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/common.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

use identity::prelude::*;
use identity::iota::Network;
use identity::iota::TangleRef;
use identity::prelude::*;

// A helper function to generate and new DID Document/KeyPair, sign the
// document, publish it to the Tangle, and return the Document/KeyPair.
Expand Down
2 changes: 1 addition & 1 deletion examples/create_did.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

use identity::prelude::*;
use identity::iota::Network;
use identity::iota::TangleRef;
use identity::prelude::*;

#[smol_potat::main]
async fn main() -> Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion examples/diff_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//! cargo run --example diff_chain
use identity::core::Timestamp;
use identity::prelude::*;
use identity::did::MethodBuilder;
use identity::did::MethodData;
use identity::did::MethodRef;
Expand All @@ -16,6 +15,7 @@ use identity::iota::AuthChain;
use identity::iota::DocumentChain;
use identity::iota::DocumentDiff;
use identity::iota::MessageId;
use identity::prelude::*;
use std::thread::sleep;
use std::time::Duration;

Expand Down
2 changes: 1 addition & 1 deletion examples/merkle_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ use identity::did::resolution::resolve;
use identity::did::resolution::Resolution;
use identity::did::MethodScope;
use identity::iota::Method;
use identity::prelude::*;
use identity::iota::TangleRef;
use identity::prelude::*;
use rand::rngs::OsRng;
use rand::Rng;

Expand Down
2 changes: 1 addition & 1 deletion examples/resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ use identity::core::SerdeInto;
use identity::did::resolution;
use identity::did::resolution::Resource;
use identity::did::resolution::SecondaryResource;
use identity::prelude::*;
use identity::iota::DID;
use identity::prelude::*;

#[smol_potat::main]
async fn main() -> Result<()> {
Expand Down

0 comments on commit 2065bae

Please sign in to comment.