@@ -715,7 +715,6 @@ impl OsStr {
715715 /// # Examples
716716 ///
717717 /// ```
718- /// #![feature(osstring_ascii)]
719718 /// use std::ffi::OsString;
720719 ///
721720 /// let mut s = OsString::from("GRÜßE, JÜRGEN ❤");
@@ -724,7 +723,7 @@ impl OsStr {
724723 ///
725724 /// assert_eq!("grÜße, jÜrgen ❤", s);
726725 /// ```
727- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
726+ #[ stable ( feature = "osstring_ascii" , since = "1.52.0 " ) ]
728727 #[ inline]
729728 pub fn make_ascii_lowercase ( & mut self ) {
730729 self . inner . make_ascii_lowercase ( )
@@ -741,7 +740,6 @@ impl OsStr {
741740 /// # Examples
742741 ///
743742 /// ```
744- /// #![feature(osstring_ascii)]
745743 /// use std::ffi::OsString;
746744 ///
747745 /// let mut s = OsString::from("Grüße, Jürgen ❤");
@@ -750,7 +748,7 @@ impl OsStr {
750748 ///
751749 /// assert_eq!("GRüßE, JüRGEN ❤", s);
752750 /// ```
753- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
751+ #[ stable ( feature = "osstring_ascii" , since = "1.52.0 " ) ]
754752 #[ inline]
755753 pub fn make_ascii_uppercase ( & mut self ) {
756754 self . inner . make_ascii_uppercase ( )
@@ -767,13 +765,12 @@ impl OsStr {
767765 /// # Examples
768766 ///
769767 /// ```
770- /// #![feature(osstring_ascii)]
771768 /// use std::ffi::OsString;
772769 /// let s = OsString::from("Grüße, Jürgen ❤");
773770 ///
774771 /// assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
775772 /// ```
776- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
773+ #[ stable ( feature = "osstring_ascii" , since = "1.52.0 " ) ]
777774 pub fn to_ascii_lowercase ( & self ) -> OsString {
778775 OsString :: from_inner ( self . inner . to_ascii_lowercase ( ) )
779776 }
@@ -789,13 +786,12 @@ impl OsStr {
789786 /// # Examples
790787 ///
791788 /// ```
792- /// #![feature(osstring_ascii)]
793789 /// use std::ffi::OsString;
794790 /// let s = OsString::from("Grüße, Jürgen ❤");
795791 ///
796792 /// assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
797793 /// ```
798- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
794+ #[ stable ( feature = "osstring_ascii" , since = "1.52.0 " ) ]
799795 pub fn to_ascii_uppercase ( & self ) -> OsString {
800796 OsString :: from_inner ( self . inner . to_ascii_uppercase ( ) )
801797 }
@@ -805,7 +801,6 @@ impl OsStr {
805801 /// # Examples
806802 ///
807803 /// ```
808- /// #![feature(osstring_ascii)]
809804 /// use std::ffi::OsString;
810805 ///
811806 /// let ascii = OsString::from("hello!\n");
@@ -814,7 +809,7 @@ impl OsStr {
814809 /// assert!(ascii.is_ascii());
815810 /// assert!(!non_ascii.is_ascii());
816811 /// ```
817- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
812+ #[ stable ( feature = "osstring_ascii" , since = "1.52.0 " ) ]
818813 #[ inline]
819814 pub fn is_ascii ( & self ) -> bool {
820815 self . inner . is_ascii ( )
@@ -828,14 +823,13 @@ impl OsStr {
828823 /// # Examples
829824 ///
830825 /// ```
831- /// #![feature(osstring_ascii)]
832826 /// use std::ffi::OsString;
833827 ///
834828 /// assert!(OsString::from("Ferris").eq_ignore_ascii_case("FERRIS"));
835829 /// assert!(OsString::from("Ferrös").eq_ignore_ascii_case("FERRöS"));
836830 /// assert!(!OsString::from("Ferrös").eq_ignore_ascii_case("FERRÖS"));
837831 /// ```
838- #[ unstable ( feature = "osstring_ascii" , issue = "70516 " ) ]
832+ #[ stable ( feature = "osstring_ascii" , since = "1.52.0 " ) ]
839833 pub fn eq_ignore_ascii_case < S : AsRef < OsStr > > ( & self , other : S ) -> bool {
840834 self . inner . eq_ignore_ascii_case ( & other. as_ref ( ) . inner )
841835 }
0 commit comments