1
0
mirror of https://github.com/fluencelabs/rust-libp2p synced 2025-07-31 00:41:59 +00:00

Align explanation with previously altered example code ()

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

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