A few typos (#666)

This commit is contained in:
David
2018-11-20 21:31:09 +01:00
committed by Pierre Krieger
parent 938b91742f
commit 31962f5920
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@
//! ## Middlewares
//!
//! Examples of middleware connection upgrades include `PlainTextConfig` (dummy upgrade) or
//! `SecioConfig` (encyption layer, provided by the `secio` crate).
//! `SecioConfig` (encryption layer, provided by the `secio` crate).
//!
//! The output of a middleware connection upgrade implements the `AsyncRead` and `AsyncWrite`
//! traits, just like sockets do.

View File

@ -38,7 +38,7 @@
//! future will never be signalled.
//!
//! For implementation reasons, resources allocated for a ping are only ever fully reclaimed after
//! a pong has been received by the remote. Therefore if you repeatidely ping a non-responsive
//! a pong has been received by the remote. Therefore if you repeatedly ping a non-responsive
//! remote you will end up using more and more memory (albeit the amount is very very small every
//! time), even if you destroy the future returned by `ping`.
//!

View File

@ -207,7 +207,7 @@ enum PingListenerState {
Listening,
/// We are trying to send a pong.
Sending(Bytes),
/// We are flusing the underlying sink.
/// We are flushing the underlying sink.
Flushing,
/// We are shutting down everything.
Closing,