diff --git a/src/client/conn/mod.rs b/src/client/conn/mod.rs index 3a1f38e..cf021d8 100644 --- a/src/client/conn/mod.rs +++ b/src/client/conn/mod.rs @@ -11,9 +11,9 @@ //! //! Two builtin transports are provided: //! - [`transport::tcp::TcpTransport`]: Connects to a remote server over TCP/IP. This is the default transport, and what -//! usually powers HTTP connections. +//! usually powers HTTP connections. //! - [`transport::duplex::DuplexTransport`]: Connects to a remote server over a duplex stream, which -//! is an in-memory stream that can be used for testing or other purposes. +//! is an in-memory stream that can be used for testing or other purposes. //! //! ## Stream //! diff --git a/src/server/mod.rs b/src/server/mod.rs index b335794..e0d000e 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -113,7 +113,7 @@ pub trait Protocol { /// connection stream (to facilitate connection information). /// - `B` is the body type for the service. /// - `E` is the executor to use for running the server. This is used to spawn the -/// connection futures. +/// connection futures. pub struct Server { acceptor: A, protocol: P, diff --git a/tests/server.rs b/tests/server.rs index 6a5c30e..7be8f1a 100644 --- a/tests/server.rs +++ b/tests/server.rs @@ -77,7 +77,7 @@ where async move { tracing::trace!("sending shutdown signal"); let _ = tx.send(()); - handle.await.unwrap().map_err(Into::into) + handle.await.unwrap() } }