We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1835bc commit 1de6f74Copy full SHA for 1de6f74
src/libstd/net/udp.rs
@@ -204,7 +204,7 @@ impl UdpSocket {
204
/// assert_eq!(socket.peer_addr().unwrap_err().kind(),
205
/// ::std::io::ErrorKind::NotConnected);
206
/// ```
207
- #[stable(feature = "udp_peer_addr", since = "1.39.0")]
+ #[stable(feature = "udp_peer_addr", since = "1.40.0")]
208
pub fn peer_addr(&self) -> io::Result<SocketAddr> {
209
self.0.peer_addr()
210
}
0 commit comments