Align explanation with previously altered example code (#1663)

Co-authored-by: Tim Makarios <git@freespoken.nz>
This commit is contained in:
tmakarios 2020-07-15 21:14:29 +12:00 committed by GitHub
parent 8e7f71b068
commit cc3438ec37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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