diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-13 10:12:38 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-15 18:09:17 -0700 |
| commit | 5f625620b5e4e29919400a0ee863942e5bf3d970 (patch) | |
| tree | 7f233a8ea679378cfd42109d923a6ddcf4aef7cf /src/libstd/net/udp.rs | |
| parent | 377c11aa83c1d2f6cc07fe178eb18a31e1813304 (diff) | |
| download | rust-5f625620b5e4e29919400a0ee863942e5bf3d970.tar.gz rust-5f625620b5e4e29919400a0ee863942e5bf3d970.zip | |
std: Add issues to all unstable features
Diffstat (limited to 'src/libstd/net/udp.rs')
| -rw-r--r-- | src/libstd/net/udp.rs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/libstd/net/udp.rs b/src/libstd/net/udp.rs index 20ce344be4f..dcb76161d1f 100644 --- a/src/libstd/net/udp.rs +++ b/src/libstd/net/udp.rs @@ -8,9 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![unstable(feature = "udp", reason = "remaining functions have not been \ - scrutinized enough to be stabilized")] - use fmt; use io::{self, Error, ErrorKind}; use net::{ToSocketAddrs, SocketAddr}; @@ -100,7 +97,8 @@ impl UdpSocket { /// If the value specified is `None`, then `read` calls will block /// indefinitely. It is an error to pass the zero `Duration` to this /// method. - #[unstable(feature = "socket_timeout", reason = "RFC 1047 - recently added")] + #[unstable(feature = "socket_timeout", reason = "RFC 1047 - recently added", + issue = "27773")] pub fn set_read_timeout(&self, dur: Option<Duration>) -> io::Result<()> { self.0.set_read_timeout(dur) } @@ -110,7 +108,8 @@ impl UdpSocket { /// If the value specified is `None`, then `write` calls will block /// indefinitely. It is an error to pass the zero `Duration` to this /// method. - #[unstable(feature = "socket_timeout", reason = "RFC 1047 - recently added")] + #[unstable(feature = "socket_timeout", reason = "RFC 1047 - recently added", + issue = "27773")] pub fn set_write_timeout(&self, dur: Option<Duration>) -> io::Result<()> { self.0.set_write_timeout(dur) } @@ -118,7 +117,8 @@ impl UdpSocket { /// Returns the read timeout of this socket. /// /// If the timeout is `None`, then `read` calls will block indefinitely. - #[unstable(feature = "socket_timeout", reason = "RFC 1047 - recently added")] + #[unstable(feature = "socket_timeout", reason = "RFC 1047 - recently added", + issue = "27773")] pub fn read_timeout(&self) -> io::Result<Option<Duration>> { self.0.read_timeout() } @@ -126,7 +126,8 @@ impl UdpSocket { /// Returns the write timeout of this socket. /// /// If the timeout is `None`, then `write` calls will block indefinitely. - #[unstable(feature = "socket_timeout", reason = "RFC 1047 - recently added")] + #[unstable(feature = "socket_timeout", reason = "RFC 1047 - recently added", + issue = "27773")] pub fn write_timeout(&self) -> io::Result<Option<Duration>> { self.0.write_timeout() } |
