From cc3438ec378c653cbfda9f73585687bdad45a92f Mon Sep 17 00:00:00 2001 From: tmakarios Date: Wed, 15 Jul 2020 21:14:29 +1200 Subject: [PATCH] Align explanation with previously altered example code (#1663) Co-authored-by: Tim Makarios --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c6e7b6c8..6f019e19 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -93,7 +93,8 @@ //! let transport = tcp.upgrade(upgrade::Version::V1).authenticate(secio).multiplex(yamux); //! # } //! ``` -//! In this example, `tcp_secio` is a new [`Transport`] that negotiates the secio protocol +//! In this example, `transport` is a new [`Transport`] that negotiates the +//! secio and yamux protocols //! on all connections. //! //! ## Network Behaviour