mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 18:11:22 +00:00
Align explanation with previously altered example code (#1663)
Co-authored-by: Tim Makarios <git@freespoken.nz>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user