@@ -61,7 +61,8 @@ pub enum Ipv6MulticastScope {
61
61
62
62
impl IpAddr {
63
63
/// Returns true for the special 'unspecified' address (0.0.0.0 in IPv4, :: in IPv6).
64
- #[ unstable( feature="ipaddr_common" , reason="recently added and depends on unstable Ipv4Addr.is_unspecified()" , issue="27709" ) ]
64
+ #[ unstable( feature="ip" , issue="27709" ,
65
+ reason="recently added and depends on unstable Ipv4Addr.is_unspecified()" ) ]
65
66
pub fn is_unspecified ( & self ) -> bool {
66
67
match * self {
67
68
IpAddr :: V4 ( ref a) => a. is_unspecified ( ) ,
@@ -70,7 +71,7 @@ impl IpAddr {
70
71
}
71
72
72
73
/// Returns true if this is a loopback address (127.0.0.0/8 in IPv4, ::1 in IPv6).
73
- #[ unstable( feature="ipaddr_common " , reason="recently added" , issue="27709" ) ]
74
+ #[ unstable( feature="ip " , reason="recently added" , issue="27709" ) ]
74
75
pub fn is_loopback ( & self ) -> bool {
75
76
match * self {
76
77
IpAddr :: V4 ( ref a) => a. is_loopback ( ) ,
@@ -79,7 +80,8 @@ impl IpAddr {
79
80
}
80
81
81
82
/// Returns true if the address appears to be globally routable.
82
- #[ unstable( feature="ipaddr_common" , reason="recently added and depends on unstable Ipv4Addr.is_global() and Ipv6Addr.is_global()" , issue="27709" ) ]
83
+ #[ unstable( feature="ip" , issue="27709" ,
84
+ reason="recently added and depends on unstable Ip{v4,v6}Addr.is_global()" ) ]
83
85
pub fn is_global ( & self ) -> bool {
84
86
match * self {
85
87
IpAddr :: V4 ( ref a) => a. is_global ( ) ,
@@ -88,7 +90,7 @@ impl IpAddr {
88
90
}
89
91
90
92
/// Returns true if this is a multicast address (224.0.0.0/4 in IPv4, ff00::/8 in IPv6)
91
- #[ unstable( feature="ipaddr_common " , reason="recently added" , issue="27709" ) ]
93
+ #[ unstable( feature="ip " , reason="recently added" , issue="27709" ) ]
92
94
pub fn is_multicast ( & self ) -> bool {
93
95
match * self {
94
96
IpAddr :: V4 ( ref a) => a. is_multicast ( ) ,
@@ -97,7 +99,8 @@ impl IpAddr {
97
99
}
98
100
99
101
/// Returns true if this address is in a range designated for documentation.
100
- #[ unstable( feature="ipaddr_common" , reason="recently added and depends on unstable Ipv6Addr.is_documentation()" , issue="27709" ) ]
102
+ #[ unstable( feature="ip" , issue="27709" ,
103
+ reason="recently added and depends on unstable Ipv6Addr.is_documentation()" ) ]
101
104
pub fn is_documentation ( & self ) -> bool {
102
105
match * self {
103
106
IpAddr :: V4 ( ref a) => a. is_documentation ( ) ,
0 commit comments