Skip to content

Commit 54dda37

Browse files
author
“ramfox”
committed
adjust example code in readme
1 parent 2578c43 commit 54dda37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ async fn main() -> anyhow::Result<()> {
5151
// build the router
5252
let router = Router::builder(endpoint)
5353
.accept(iroh_blobs::ALPN, blobs.clone())
54-
.spawn()
55-
.await?;
54+
.spawn();
5655

5756
// do fun stuff with the blobs protocol!
5857
router.shutdown().await?;

0 commit comments

Comments
 (0)