Skip to content

Commit 4aca16f

Browse files
committed
clippy
1 parent 07d1890 commit 4aca16f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

irpc-iroh/src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use irpc::{
1212
util::AsyncReadVarintExt,
1313
RequestError,
1414
};
15-
use n0_future::boxed::BoxFuture;
15+
use n0_future::{boxed::BoxFuture, TryFutureExt};
1616
use serde::de::DeserializeOwned;
1717
use tracing::{trace, trace_span, warn, Instrument};
1818

@@ -86,10 +86,6 @@ async fn connect_and_open_bi(
8686
Ok((send, recv))
8787
}
8888

89-
use n0_future::TryFutureExt;
90-
use serde::de::DeserializeOwned;
91-
use tracing::{trace, trace_span, warn, Instrument};
92-
9389
/// A [`ProtocolHandler`] for an irpc protocol.
9490
///
9591
/// Can be added to an [`iroh::router::Router`] to handle incoming connections for an ALPN string.

0 commit comments

Comments
 (0)