Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Clippy #269

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/client/conn/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down
2 changes: 1 addition & 1 deletion src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub trait Protocol<S, IO, B> {
/// 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<A, P, S, B, E> {
acceptor: A,
protocol: P,
Expand Down
2 changes: 1 addition & 1 deletion tests/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

Expand Down
Loading