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/mod.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/mod.rs')
| -rw-r--r-- | src/libstd/net/mod.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/libstd/net/mod.rs b/src/libstd/net/mod.rs index c7daf5cdee5..8a02d37c89b 100644 --- a/src/libstd/net/mod.rs +++ b/src/libstd/net/mod.rs @@ -84,12 +84,14 @@ fn each_addr<A: ToSocketAddrs, F, T>(addr: A, mut f: F) -> io::Result<T> /// An iterator over `SocketAddr` values returned from a host lookup operation. #[unstable(feature = "lookup_host", reason = "unsure about the returned \ iterator and returning socket \ - addresses")] + addresses", + issue = "27705")] pub struct LookupHost(net_imp::LookupHost); #[unstable(feature = "lookup_host", reason = "unsure about the returned \ iterator and returning socket \ - addresses")] + addresses", + issue = "27705")] impl Iterator for LookupHost { type Item = io::Result<SocketAddr>; fn next(&mut self) -> Option<io::Result<SocketAddr>> { self.0.next() } @@ -116,7 +118,8 @@ impl Iterator for LookupHost { /// ``` #[unstable(feature = "lookup_host", reason = "unsure about the returned \ iterator and returning socket \ - addresses")] + addresses", + issue = "27705")] pub fn lookup_host(host: &str) -> io::Result<LookupHost> { net_imp::lookup_host(host).map(LookupHost) } @@ -126,7 +129,8 @@ pub fn lookup_host(host: &str) -> io::Result<LookupHost> { /// This function may perform a DNS query to resolve `addr` and may also inspect /// system configuration to resolve the specified address. If the address /// cannot be resolved, it is returned in string format. -#[unstable(feature = "lookup_addr", reason = "recent addition")] +#[unstable(feature = "lookup_addr", reason = "recent addition", + issue = "27705")] pub fn lookup_addr(addr: &IpAddr) -> io::Result<String> { net_imp::lookup_addr(addr) } |
