File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ impl Router {
388
388
///
389
389
/// If a protocol handler was already registered for `alpn`, the previous handler will be
390
390
/// 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.
392
392
/// Consult the documentation of the protocol handler to see if that is the case.
393
393
pub async fn accept (
394
394
& self ,
@@ -413,7 +413,7 @@ impl Router {
413
413
///
414
414
/// If a protocol handler was registered for `alpn`, the handler will be
415
415
/// 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.
417
417
/// Consult the documentation of the protocol handler to see if that is the case.
418
418
///
419
419
/// Returns an error if the router has been shutdown or no protocol is registered for `alpn`.
You can’t perform that action at this time.
0 commit comments