Skip to content

Commit 0f1db08

Browse files
committed
Revert to using anyhow in README.md example
1 parent 26a5bc7 commit 0f1db08

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
@@ -35,10 +35,9 @@ Here is a basic example of how to set up `iroh-blobs` with `iroh`:
3535
```rust,no_run
3636
use iroh::{protocol::Router, Endpoint};
3737
use iroh_blobs::{store::mem::MemStore, BlobsProtocol, ticket::BlobTicket};
38-
use n0_error::{Result, StdResultExt};
3938
4039
#[tokio::main]
41-
async fn main() -> Result<()> {
40+
async fn main() -> anyhow::Result<()> {
4241
// create an iroh endpoint that includes the standard discovery mechanisms
4342
// we've built at number0
4443
let endpoint = Endpoint::bind().await?;

0 commit comments

Comments
 (0)