@@ -626,13 +626,13 @@ impl Ipv4Addr {
626626/// # Examples 
627627/// 
628628/// ``` 
629- /// #![feature(ip_from)] 
630629/// use std::net::Ipv4Addr; 
631630/// 
632631/// let addr = Ipv4Addr::from_octets([13u8, 12u8, 11u8, 10u8]); 
633632/// assert_eq!(Ipv4Addr::new(13, 12, 11, 10), addr); 
634633/// ``` 
635- #[ unstable( feature = "ip_from" ,  issue = "131360" ) ]  
634+ #[ stable( feature = "ip_from" ,  since = "CURRENT_RUSTC_VERSION" ) ]  
635+     #[ rustc_const_stable( feature = "ip_from" ,  since = "CURRENT_RUSTC_VERSION" ) ]  
636636    #[ must_use]  
637637    #[ inline]  
638638    pub  const  fn  from_octets ( octets :  [ u8 ;  4 ] )  -> Ipv4Addr  { 
@@ -1464,7 +1464,6 @@ impl Ipv6Addr {
14641464/// # Examples 
14651465/// 
14661466/// ``` 
1467- /// #![feature(ip_from)] 
14681467/// use std::net::Ipv6Addr; 
14691468/// 
14701469/// let addr = Ipv6Addr::from_segments([ 
@@ -1479,7 +1478,8 @@ impl Ipv6Addr {
14791478///     addr 
14801479/// ); 
14811480/// ``` 
1482- #[ unstable( feature = "ip_from" ,  issue = "131360" ) ]  
1481+ #[ stable( feature = "ip_from" ,  since = "CURRENT_RUSTC_VERSION" ) ]  
1482+     #[ rustc_const_stable( feature = "ip_from" ,  since = "CURRENT_RUSTC_VERSION" ) ]  
14831483    #[ must_use]  
14841484    #[ inline]  
14851485    pub  const  fn  from_segments ( segments :  [ u16 ;  8 ] )  -> Ipv6Addr  { 
@@ -2029,7 +2029,6 @@ impl Ipv6Addr {
20292029/// # Examples 
20302030/// 
20312031/// ``` 
2032- /// #![feature(ip_from)] 
20332032/// use std::net::Ipv6Addr; 
20342033/// 
20352034/// let addr = Ipv6Addr::from_octets([ 
@@ -2044,7 +2043,8 @@ impl Ipv6Addr {
20442043///     addr 
20452044/// ); 
20462045/// ``` 
2047- #[ unstable( feature = "ip_from" ,  issue = "131360" ) ]  
2046+ #[ stable( feature = "ip_from" ,  since = "CURRENT_RUSTC_VERSION" ) ]  
2047+     #[ rustc_const_stable( feature = "ip_from" ,  since = "CURRENT_RUSTC_VERSION" ) ]  
20482048    #[ must_use]  
20492049    #[ inline]  
20502050    pub  const  fn  from_octets ( octets :  [ u8 ;  16 ] )  -> Ipv6Addr  { 
0 commit comments