Skip to content

Commit

Permalink
Bump osstring_ascii stabilization version to 1.53.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Mar 21, 2021
1 parent 93fda34 commit 0acdada
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions library/std/src/ffi/os_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ impl OsStr {
///
/// 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()
Expand All @@ -748,7 +748,7 @@ impl OsStr {
///
/// 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()
Expand All @@ -770,7 +770,7 @@ impl OsStr {
///
/// 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())
}
Expand All @@ -791,7 +791,7 @@ impl OsStr {
///
/// 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())
}
Expand All @@ -809,7 +809,7 @@ impl OsStr {
/// 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()
Expand All @@ -829,7 +829,7 @@ impl OsStr {
/// 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)
}
Expand Down

0 comments on commit 0acdada

Please sign in to comment.