Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rklaehn committed Aug 14, 2023
1 parent 33a2e3d commit 6249ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/transport/interprocess.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ impl<'a> Iterator for FrameIter<'a> {
///
/// The connection is assumed to be from `local` to `remote`. If you try to
/// connect to any other address, packets will be dropped.
#[allow(clippy::type_complexity)]
pub fn tokio_io_endpoint<R, W>(
mut r: R,
mut w: W,
Expand Down
2 changes: 1 addition & 1 deletion tests/interprocess.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async fn quinn_flume_socket_raw() -> anyhow::Result<()> {
anyhow::Ok(())
});
let client = tokio::spawn(async move {
let conn = client.connect(server_addr, "localhost".into())?.await?;
let conn = client.connect(server_addr, "localhost")?.await?;
let (mut send, mut recv) = conn.open_bi().await?;
tracing::info!("client connected");
tokio::spawn(async move {
Expand Down

0 comments on commit 6249ca1

Please sign in to comment.