Skip to content

Commit

Permalink
Update src/libstd/net/udp.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
messense and Centril committed Sep 26, 2019
1 parent f1835bc commit 1de6f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/net/udp.rs
Expand Up @@ -204,7 +204,7 @@ impl UdpSocket {
/// assert_eq!(socket.peer_addr().unwrap_err().kind(),
/// ::std::io::ErrorKind::NotConnected);
/// ```
#[stable(feature = "udp_peer_addr", since = "1.39.0")]
#[stable(feature = "udp_peer_addr", since = "1.40.0")]
pub fn peer_addr(&self) -> io::Result<SocketAddr> {
self.0.peer_addr()
}
Expand Down

0 comments on commit 1de6f74

Please sign in to comment.