Skip to content

Commit 9be3f57

Browse files
committed
fix clippy's lints
1 parent d3a6c7b commit 9be3f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iroh/src/magicsock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3095,7 +3095,7 @@ fn bind_with_fallback(mut addr: SocketAddr) -> anyhow::Result<UdpSocket> {
30953095

30963096
// Otherwise, try binding with port 0
30973097
addr.set_port(0);
3098-
Ok(UdpSocket::bind_full(addr).context("failed to bind on fallback port")?)
3098+
UdpSocket::bind_full(addr).context("failed to bind on fallback port")
30993099
}
31003100

31013101
/// The discovered direct addresses of this [`MagicSock`].

0 commit comments

Comments
 (0)