Skip to content

Commit e0f3833

Browse files
committed
clippy: Fix warnings
1 parent 66e9952 commit e0f3833

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/forwarding.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,6 @@ impl ConnectOffer {
736736
}
737737
}
738738

739-
#[expect(clippy::type_complexity)]
740739
struct ForwardConnect<I> {
741740
//transit: &'a mut transit::Transit,
742741
/* when can I finally store an `impl Trait` in a struct? */

src/transit/transport.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ async fn tcp_connect_custom(
221221
.take_error()
222222
.and_then(|maybe_err| maybe_err.map_or(Ok(()), Result::Err))?;
223223
/* Convert our mess to `smol::net::TcpStream */
224-
Ok(stream.into_inner()?.try_into()?)
224+
stream.into_inner()?.try_into()
225225
}
226226

227227
#[cfg(not(target_family = "wasm"))]

0 commit comments

Comments
 (0)