We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3a6c7b commit 9be3f57Copy full SHA for 9be3f57
iroh/src/magicsock.rs
@@ -3095,7 +3095,7 @@ fn bind_with_fallback(mut addr: SocketAddr) -> anyhow::Result<UdpSocket> {
3095
3096
// Otherwise, try binding with port 0
3097
addr.set_port(0);
3098
- Ok(UdpSocket::bind_full(addr).context("failed to bind on fallback port")?)
+ UdpSocket::bind_full(addr).context("failed to bind on fallback port")
3099
}
3100
3101
/// The discovered direct addresses of this [`MagicSock`].
0 commit comments