Skip to content

Commit 76f1581

Browse files
committed
remove obsolete , to pass the format check
1 parent a8e3746 commit 76f1581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/sys/hermit/net.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl TcpStream {
154154
Ipv6(ref addr) => SocketAddr::new(IpAddr::V6(Ipv6Addr::from(addr.0)), port),
155155
_ => {
156156
return Err(io::Error::new(ErrorKind::Other, "peer_addr failed"));
157-
},
157+
}
158158
};
159159

160160
Ok(saddr)
@@ -234,7 +234,7 @@ impl TcpListener {
234234
Ipv6(ref addr) => SocketAddr::new(IpAddr::V6(Ipv6Addr::from(addr.0)), port),
235235
_ => {
236236
return Err(io::Error::new(ErrorKind::Other, "accept failed"));
237-
},
237+
}
238238
};
239239

240240
Ok((TcpStream(Arc::new(Socket(handle))), saddr))

0 commit comments

Comments
 (0)