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:
James Ray
2018-11-03 02:40:00 +11:00
committed by Pierre Krieger
parent 4225d2631b
commit 0f3ef5ee0a
10 changed files with 12 additions and 12 deletions

View File

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

View File

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

View File

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