Skip to content

Commit

Permalink
move doc links for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
TyPR124 committed Mar 28, 2020
1 parent 3781a1a commit ca4b403
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libstd/ffi/os_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,8 @@ impl OsStr {
///
/// To lowercase the value in-place, use [`make_ascii_lowercase`].
///
/// [`make_ascii_lowercase`]: #method.make_ascii_lowercase
///
/// # Examples
///
/// ```
Expand All @@ -770,8 +772,6 @@ impl OsStr {
///
/// 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())
Expand All @@ -785,6 +785,8 @@ impl OsStr {
///
/// To uppercase the value in-place, use [`make_ascii_uppercase`].
///
/// [`make_ascii_uppercase`]: #method.make_ascii_uppercase
///
/// # Examples
///
/// ```
Expand All @@ -794,8 +796,6 @@ impl OsStr {
///
/// 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())
Expand Down

0 comments on commit ca4b403

Please sign in to comment.