Skip to content

Commit d596522

Browse files
authored
Merge branch 'main' into move-blobs-rpc
2 parents 445aa35 + f0590be commit d596522

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

iroh-net/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
//! interface to [QUIC] connections and streams to the user, while implementing direct
55
//! connectivity using [hole punching] complemented by relay servers under the hood.
66
//!
7-
//! Connecting to a remote node looks roughly like this:
7+
//! An iroh-net node is created and controlled by the [`Endpoint`], e.g. connecting to
8+
//! another node:
89
//!
910
//! ```no_run
1011
//! # use iroh_net::{Endpoint, NodeAddr};
@@ -18,7 +19,7 @@
1819
//! # }
1920
//! ```
2021
//!
21-
//! The other side can accept incoming connections like this:
22+
//! The other node can accept incoming connections using the [`Endpoint`] as well:
2223
//!
2324
//! ```no_run
2425
//! # use iroh_net::{Endpoint, NodeAddr};

0 commit comments

Comments
 (0)