diff --git a/core/src/lib.rs b/core/src/lib.rs index 9f0b5e59..821e7e34 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -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. diff --git a/protocols/ping/src/lib.rs b/protocols/ping/src/lib.rs index cf5e1cb3..a8684c10 100644 --- a/protocols/ping/src/lib.rs +++ b/protocols/ping/src/lib.rs @@ -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`. //! diff --git a/protocols/ping/src/protocol.rs b/protocols/ping/src/protocol.rs index a5ca043e..24ab1953 100644 --- a/protocols/ping/src/protocol.rs +++ b/protocols/ping/src/protocol.rs @@ -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,