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