///
/// To lowercase the value in-place, use [`make_ascii_lowercase`].
///
+ /// [`make_ascii_lowercase`]: #method.make_ascii_lowercase
+ ///
/// # Examples
///
/// ```
///
/// assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
/// ```
- ///
- /// [`make_ascii_lowercase`]: #method.make_ascii_lowercase
#[unstable(feature = "osstring_ascii", issue = "none")]
pub fn to_ascii_lowercase(&self) -> OsString {
OsString::from_inner(self.inner.to_ascii_lowercase())
///
/// To uppercase the value in-place, use [`make_ascii_uppercase`].
///
+ /// [`make_ascii_uppercase`]: #method.make_ascii_uppercase
+ ///
/// # Examples
///
/// ```
///
/// assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
/// ```
- ///
- /// [`make_ascii_uppercase`]: #method.make_ascii_uppercase
#[unstable(feature = "osstring_ascii", issue = "none")]
pub fn to_ascii_uppercase(&self) -> OsString {
OsString::from_inner(self.inner.to_ascii_uppercase())