@@ -89,15 +89,15 @@ impl Ipv4Addr {
8989
9090    /// Returns true if this is a loopback address (127.0.0.0/8). 
9191/// 
92- /// This property is defined by RFC 6890 
92+ /// This property is defined by RFC 6890.  
9393#[ stable( since = "1.7.0" ,  feature = "ip_17" ) ]  
9494    pub  fn  is_loopback ( & self )  -> bool  { 
9595        self . octets ( ) [ 0 ]  == 127 
9696    } 
9797
9898    /// Returns true if this is a private address. 
9999/// 
100- /// The private address ranges are defined in RFC1918  and include: 
100+ /// The private address ranges are defined in RFC 1918  and include: 
101101/// 
102102///  - 10.0.0.0/8 
103103///  - 172.16.0.0/12 
@@ -114,7 +114,7 @@ impl Ipv4Addr {
114114
115115    /// Returns true if the address is link-local (169.254.0.0/16). 
116116/// 
117- /// This property is defined by RFC 6890 
117+ /// This property is defined by RFC 6890.  
118118#[ stable( since = "1.7.0" ,  feature = "ip_17" ) ]  
119119    pub  fn  is_link_local ( & self )  -> bool  { 
120120        self . octets ( ) [ 0 ]  == 169  && self . octets ( ) [ 1 ]  == 254 
@@ -140,7 +140,7 @@ impl Ipv4Addr {
140140    /// Returns true if this is a multicast address. 
141141/// 
142142/// Multicast addresses have a most significant octet between 224 and 239, 
143- /// and is defined by RFC 5771 
143+ /// and is defined by RFC 5771.  
144144#[ stable( since = "1.7.0" ,  feature = "ip_17" ) ]  
145145    pub  fn  is_multicast ( & self )  -> bool  { 
146146        self . octets ( ) [ 0 ]  >= 224  && self . octets ( ) [ 0 ]  <= 239 
@@ -354,7 +354,7 @@ impl Ipv6Addr {
354354
355355    /// Returns true if this is a unique local address (IPv6). 
356356/// 
357- /// Unique local addresses are defined in RFC4193  and have the form fc00::/7. 
357+ /// Unique local addresses are defined in RFC 4193  and have the form fc00::/7. 
358358pub  fn  is_unique_local ( & self )  -> bool  { 
359359        ( self . segments ( ) [ 0 ]  &  0xfe00 )  == 0xfc00 
360360    } 
0 commit comments