summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/pubsub.rs
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2018-01-23 18:30:11 -0500
committerFerris Tseng <ferristseng@fastmail.fm>2018-01-23 18:30:11 -0500
commitc2f1199de55897cc98d7663f171329a04e63b230 (patch)
tree37d5fcd052f9fce50eacae78633cf09a1c8a9901 /ipfs-api/examples/pubsub.rs
parent06a3776548b8c81226ef61715e5a2e98e29799c9 (diff)
formatting
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,