summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/pubsub.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/examples/pubsub.rs')
-rw-r--r--ipfs-api/examples/pubsub.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipfs-api/examples/pubsub.rs b/ipfs-api/examples/pubsub.rs
index 9d37c04..54a07ac 100644
--- a/ipfs-api/examples/pubsub.rs
+++ b/ipfs-api/examples/pubsub.rs
@@ -49,9 +49,9 @@ fn main() {
println!();
println!("starting task to publish messages to ({})...", TOPIC);
- event_loop.run(publish).expect(
- "expected the publish task to start",
- );
+ event_loop
+ .run(publish)
+ .expect("expected the publish task to start");
});
// This block will execute a future that suscribes to a topic,