Skip to content

Commit

Permalink
Fix use double Endpoint -> SecretKey (#276)
Browse files Browse the repository at this point in the history
Fix use double Endpoint -> SecretKey
  • Loading branch information
maacl authored Jan 27, 2025
1 parent 1f71187 commit c26946d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/docs/examples/gossip-chat/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The first step is creating a basic endpoint configuration. Replace the following

```rust
use anyhow::Result;
use iroh::{Endpoint, Endpoint};
use iroh::{Endpoint, SecretKey};

#[tokio::main]
async fn main() -> Result<()> {
Expand Down

0 comments on commit c26946d

Please sign in to comment.