We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8e3746 commit 76f1581Copy full SHA for 76f1581
src/libstd/sys/hermit/net.rs
@@ -154,7 +154,7 @@ impl TcpStream {
154
Ipv6(ref addr) => SocketAddr::new(IpAddr::V6(Ipv6Addr::from(addr.0)), port),
155
_ => {
156
return Err(io::Error::new(ErrorKind::Other, "peer_addr failed"));
157
- },
+ }
158
};
159
160
Ok(saddr)
@@ -234,7 +234,7 @@ impl TcpListener {
234
235
236
return Err(io::Error::new(ErrorKind::Other, "accept failed"));
237
238
239
240
Ok((TcpStream(Arc::new(Socket(handle))), saddr))
0 commit comments