Skip to content

Commit 9f01dd5

Browse files
committed
fixup typo
1 parent 853bec2 commit 9f01dd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iroh/src/protocol.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ impl Router {
388388
///
389389
/// If a protocol handler was already registered for `alpn`, the previous handler will be
390390
/// shutdown. Existing connections will not be aborted by the router, but some protocol
391-
/// handlers may abort existing connnections in their [`Router::shutdown`] implementation.
391+
/// handlers may abort existing connections in their [`Router::shutdown`] implementation.
392392
/// Consult the documentation of the protocol handler to see if that is the case.
393393
pub async fn accept(
394394
&self,
@@ -413,7 +413,7 @@ impl Router {
413413
///
414414
/// If a protocol handler was registered for `alpn`, the handler will be
415415
/// shutdown. Existing connections will not be aborted by the router, but some protocol
416-
/// handlers may abort existing connnections in their [`Router::shutdown`] implementation.
416+
/// handlers may abort existing connections in their [`Router::shutdown`] implementation.
417417
/// Consult the documentation of the protocol handler to see if that is the case.
418418
///
419419
/// Returns an error if the router has been shutdown or no protocol is registered for `alpn`.

0 commit comments

Comments
 (0)