From 3ac34f63b6b70330492dab3a05ad6fdffd67b477 Mon Sep 17 00:00:00 2001 From: Alex Rudy Date: Wed, 26 Feb 2025 22:05:35 -0800 Subject: [PATCH 1/2] clippy: fix redundant call to Into::into --- tests/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } } From b5300b25cc00e1c26acc16f471f10b2f59817ff2 Mon Sep 17 00:00:00 2001 From: Alex Rudy Date: Wed, 26 Feb 2025 22:10:24 -0800 Subject: [PATCH 2/2] clippy: fix list indents in doc comments --- src/client/conn/mod.rs | 4 ++-- src/server/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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,