mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-26 16:21:39 +00:00
eg. -> e.g.; ie. -> i.e. via repren (#592)
* eg. -> e.g.; ie. -> i.e. via repren * se.g. -> seg.
This commit is contained in:
committed by
Pierre Krieger
parent
4225d2631b
commit
0f3ef5ee0a
@ -81,7 +81,7 @@ where
|
||||
/// # Panic
|
||||
///
|
||||
/// Will panic if called while there is data inside the buffer. **This can only happen if
|
||||
/// you call `poll()` manually**. Using this struct as it is intended to be used (ie. through
|
||||
/// you call `poll()` manually**. Using this struct as it is intended to be used (i.e. through
|
||||
/// the modifiers provided by the `futures` crate) will always leave the object in a state in
|
||||
/// which `into_inner()` will not panic.
|
||||
#[inline]
|
||||
|
@ -28,7 +28,7 @@
|
||||
//!
|
||||
//! Whenever a new connection or a new multiplexed substream is opened, libp2p uses
|
||||
//! `multistream-select` to negotiate with the remote which protocol to use. After a protocol has
|
||||
//! been successfully negotiated, the stream (ie. the connection or the multiplexed substream)
|
||||
//! been successfully negotiated, the stream (i.e. the connection or the multiplexed substream)
|
||||
//! immediately stops using `multistream-select` and starts using the negotiated protocol.
|
||||
//!
|
||||
//! ## Protocol explanation
|
||||
|
@ -31,7 +31,7 @@ use ProtocolChoiceError;
|
||||
/// Helps selecting a protocol amongst the ones supported.
|
||||
///
|
||||
/// This function expects a socket and an iterator of the list of supported protocols. The iterator
|
||||
/// must be clonable (ie. iterable multiple times), because the list may need to be accessed
|
||||
/// must be clonable (i.e. iterable multiple times), because the list may need to be accessed
|
||||
/// multiple times.
|
||||
///
|
||||
/// The iterator must produce tuples of the name of the protocol that is advertised to the remote,
|
||||
|
Reference in New Issue
Block a user