]> git.lizzy.rs Git - rust.git/commitdiff
Bump osstring_ascii stabilization version to 1.53.0.
authorMara Bos <m-ou.se@m-ou.se>
Sun, 21 Mar 2021 16:49:14 +0000 (17:49 +0100)
committerMara Bos <m-ou.se@m-ou.se>
Sun, 21 Mar 2021 16:49:14 +0000 (17:49 +0100)
library/std/src/ffi/os_str.rs

index 5e0ce0358f782eeb4c663f95e015312fc4c92b98..b407714c380a9628353958430364a1f4b50ce71c 100644 (file)
@@ -723,7 +723,7 @@ pub(crate) fn bytes(&self) -> &[u8] {
     ///
     /// assert_eq!("grÜße, jÜrgen ❤", s);
     /// ```
-    #[stable(feature = "osstring_ascii", since = "1.52.0")]
+    #[stable(feature = "osstring_ascii", since = "1.53.0")]
     #[inline]
     pub fn make_ascii_lowercase(&mut self) {
         self.inner.make_ascii_lowercase()
@@ -748,7 +748,7 @@ pub fn make_ascii_lowercase(&mut self) {
     ///
     /// assert_eq!("GRüßE, JüRGEN ❤", s);
     /// ```
-    #[stable(feature = "osstring_ascii", since = "1.52.0")]
+    #[stable(feature = "osstring_ascii", since = "1.53.0")]
     #[inline]
     pub fn make_ascii_uppercase(&mut self) {
         self.inner.make_ascii_uppercase()
@@ -770,7 +770,7 @@ pub fn make_ascii_uppercase(&mut self) {
     ///
     /// assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
     /// ```
-    #[stable(feature = "osstring_ascii", since = "1.52.0")]
+    #[stable(feature = "osstring_ascii", since = "1.53.0")]
     pub fn to_ascii_lowercase(&self) -> OsString {
         OsString::from_inner(self.inner.to_ascii_lowercase())
     }
@@ -791,7 +791,7 @@ pub fn to_ascii_lowercase(&self) -> OsString {
     ///
     /// assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
     /// ```
-    #[stable(feature = "osstring_ascii", since = "1.52.0")]
+    #[stable(feature = "osstring_ascii", since = "1.53.0")]
     pub fn to_ascii_uppercase(&self) -> OsString {
         OsString::from_inner(self.inner.to_ascii_uppercase())
     }
@@ -809,7 +809,7 @@ pub fn to_ascii_uppercase(&self) -> OsString {
     /// assert!(ascii.is_ascii());
     /// assert!(!non_ascii.is_ascii());
     /// ```
-    #[stable(feature = "osstring_ascii", since = "1.52.0")]
+    #[stable(feature = "osstring_ascii", since = "1.53.0")]
     #[inline]
     pub fn is_ascii(&self) -> bool {
         self.inner.is_ascii()
@@ -829,7 +829,7 @@ pub fn is_ascii(&self) -> bool {
     /// assert!(OsString::from("Ferrös").eq_ignore_ascii_case("FERRöS"));
     /// assert!(!OsString::from("Ferrös").eq_ignore_ascii_case("FERRÖS"));
     /// ```
-    #[stable(feature = "osstring_ascii", since = "1.52.0")]
+    #[stable(feature = "osstring_ascii", since = "1.53.0")]
     pub fn eq_ignore_ascii_case<S: AsRef<OsStr>>(&self, other: S) -> bool {
         self.inner.eq_ignore_ascii_case(&other.as_ref().inner)
     }