summaryrefslogtreecommitdiffstats
path: root/ipfs-api-examples/examples
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api-examples/examples')
-rw-r--r--ipfs-api-examples/examples/pubsub.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/ipfs-api-examples/examples/pubsub.rs b/ipfs-api-examples/examples/pubsub.rs
index 0311ed7..8944f3c 100644
--- a/ipfs-api-examples/examples/pubsub.rs
+++ b/ipfs-api-examples/examples/pubsub.rs
@@ -7,11 +7,9 @@
//
use futures::{future, select, FutureExt, StreamExt, TryStreamExt};
-use ipfs_api_examples::{
- ipfs_api::{IpfsApi, IpfsClient},
- tokio::time,
-};
+use ipfs_api_examples::ipfs_api::{IpfsApi, IpfsClient};
use std::time::Duration;
+use tokio::time;
use tokio_stream::wrappers::IntervalStream;
static TOPIC: &'static str = "test";