@@ -745,7 +745,7 @@ impl String {
745
745
/// assert!(String::from_utf16le(v).is_err());
746
746
/// ```
747
747
#[ cfg( not( no_global_oom_handling) ) ]
748
- #[ unstable( feature = "str_from_utf16_endian" , issue = "none" , reason = "recently added ") ]
748
+ #[ unstable( feature = "str_from_utf16_endian" , issue = "116258 " ) ]
749
749
pub fn from_utf16le ( v : & [ u8 ] ) -> Result < String , FromUtf16Error > {
750
750
if v. len ( ) % 2 != 0 {
751
751
return Err ( FromUtf16Error ( ( ) ) ) ;
@@ -784,7 +784,7 @@ impl String {
784
784
/// String::from_utf16le_lossy(v));
785
785
/// ```
786
786
#[ cfg( not( no_global_oom_handling) ) ]
787
- #[ unstable( feature = "str_from_utf16_endian" , issue = "none" , reason = "recently added ") ]
787
+ #[ unstable( feature = "str_from_utf16_endian" , issue = "116258 " ) ]
788
788
pub fn from_utf16le_lossy ( v : & [ u8 ] ) -> String {
789
789
match ( cfg ! ( target_endian = "little" ) , unsafe { v. align_to :: < u16 > ( ) } ) {
790
790
( true , ( [ ] , v, [ ] ) ) => Self :: from_utf16_lossy ( v) ,
@@ -824,7 +824,7 @@ impl String {
824
824
/// assert!(String::from_utf16be(v).is_err());
825
825
/// ```
826
826
#[ cfg( not( no_global_oom_handling) ) ]
827
- #[ unstable( feature = "str_from_utf16_endian" , issue = "none" , reason = "recently added ") ]
827
+ #[ unstable( feature = "str_from_utf16_endian" , issue = "116258 " ) ]
828
828
pub fn from_utf16be ( v : & [ u8 ] ) -> Result < String , FromUtf16Error > {
829
829
if v. len ( ) % 2 != 0 {
830
830
return Err ( FromUtf16Error ( ( ) ) ) ;
@@ -863,7 +863,7 @@ impl String {
863
863
/// String::from_utf16be_lossy(v));
864
864
/// ```
865
865
#[ cfg( not( no_global_oom_handling) ) ]
866
- #[ unstable( feature = "str_from_utf16_endian" , issue = "none" , reason = "recently added ") ]
866
+ #[ unstable( feature = "str_from_utf16_endian" , issue = "116258 " ) ]
867
867
pub fn from_utf16be_lossy ( v : & [ u8 ] ) -> String {
868
868
match ( cfg ! ( target_endian = "big" ) , unsafe { v. align_to :: < u16 > ( ) } ) {
869
869
( true , ( [ ] , v, [ ] ) ) => Self :: from_utf16_lossy ( v) ,
0 commit comments