@@ -716,7 +716,6 @@ impl OsStr {
716
716
/// # Examples
717
717
///
718
718
/// ```
719
- /// #![feature(osstring_ascii)]
720
719
/// use std::ffi::OsString;
721
720
///
722
721
/// let mut s = OsString::from("GRÜßE, JÜRGEN ❤");
@@ -725,7 +724,7 @@ impl OsStr {
725
724
///
726
725
/// assert_eq!("grÜße, jÜrgen ❤", s);
727
726
/// ```
728
- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
727
+ #[ stable ( feature = "osstring_ascii" , since = "1.53.0 " ) ]
729
728
#[ inline]
730
729
pub fn make_ascii_lowercase ( & mut self ) {
731
730
self . inner . make_ascii_lowercase ( )
@@ -742,7 +741,6 @@ impl OsStr {
742
741
/// # Examples
743
742
///
744
743
/// ```
745
- /// #![feature(osstring_ascii)]
746
744
/// use std::ffi::OsString;
747
745
///
748
746
/// let mut s = OsString::from("Grüße, Jürgen ❤");
@@ -751,7 +749,7 @@ impl OsStr {
751
749
///
752
750
/// assert_eq!("GRüßE, JüRGEN ❤", s);
753
751
/// ```
754
- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
752
+ #[ stable ( feature = "osstring_ascii" , since = "1.53.0 " ) ]
755
753
#[ inline]
756
754
pub fn make_ascii_uppercase ( & mut self ) {
757
755
self . inner . make_ascii_uppercase ( )
@@ -768,13 +766,12 @@ impl OsStr {
768
766
/// # Examples
769
767
///
770
768
/// ```
771
- /// #![feature(osstring_ascii)]
772
769
/// use std::ffi::OsString;
773
770
/// let s = OsString::from("Grüße, Jürgen ❤");
774
771
///
775
772
/// assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
776
773
/// ```
777
- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
774
+ #[ stable ( feature = "osstring_ascii" , since = "1.53.0 " ) ]
778
775
pub fn to_ascii_lowercase ( & self ) -> OsString {
779
776
OsString :: from_inner ( self . inner . to_ascii_lowercase ( ) )
780
777
}
@@ -790,13 +787,12 @@ impl OsStr {
790
787
/// # Examples
791
788
///
792
789
/// ```
793
- /// #![feature(osstring_ascii)]
794
790
/// use std::ffi::OsString;
795
791
/// let s = OsString::from("Grüße, Jürgen ❤");
796
792
///
797
793
/// assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
798
794
/// ```
799
- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
795
+ #[ stable ( feature = "osstring_ascii" , since = "1.53.0 " ) ]
800
796
pub fn to_ascii_uppercase ( & self ) -> OsString {
801
797
OsString :: from_inner ( self . inner . to_ascii_uppercase ( ) )
802
798
}
@@ -806,7 +802,6 @@ impl OsStr {
806
802
/// # Examples
807
803
///
808
804
/// ```
809
- /// #![feature(osstring_ascii)]
810
805
/// use std::ffi::OsString;
811
806
///
812
807
/// let ascii = OsString::from("hello!\n");
@@ -815,7 +810,7 @@ impl OsStr {
815
810
/// assert!(ascii.is_ascii());
816
811
/// assert!(!non_ascii.is_ascii());
817
812
/// ```
818
- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
813
+ #[ stable ( feature = "osstring_ascii" , since = "1.53.0 " ) ]
819
814
#[ inline]
820
815
pub fn is_ascii ( & self ) -> bool {
821
816
self . inner . is_ascii ( )
@@ -829,14 +824,13 @@ impl OsStr {
829
824
/// # Examples
830
825
///
831
826
/// ```
832
- /// #![feature(osstring_ascii)]
833
827
/// use std::ffi::OsString;
834
828
///
835
829
/// assert!(OsString::from("Ferris").eq_ignore_ascii_case("FERRIS"));
836
830
/// assert!(OsString::from("Ferrös").eq_ignore_ascii_case("FERRöS"));
837
831
/// assert!(!OsString::from("Ferrös").eq_ignore_ascii_case("FERRÖS"));
838
832
/// ```
839
- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
833
+ #[ stable ( feature = "osstring_ascii" , since = "1.53.0 " ) ]
840
834
pub fn eq_ignore_ascii_case < S : AsRef < OsStr > > ( & self , other : S ) -> bool {
841
835
self . inner . eq_ignore_ascii_case ( & other. as_ref ( ) . inner )
842
836
}
0 commit comments