Skip to content

Commit ca4b403

Browse files
committed
move doc links for consistency
1 parent 3781a1a commit ca4b403

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/ffi/os_str.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ impl OsStr {
761761
///
762762
/// To lowercase the value in-place, use [`make_ascii_lowercase`].
763763
///
764+
/// [`make_ascii_lowercase`]: #method.make_ascii_lowercase
765+
///
764766
/// # Examples
765767
///
766768
/// ```
@@ -770,8 +772,6 @@ impl OsStr {
770772
///
771773
/// assert_eq!("grüße, jürgen ❤", s.to_ascii_lowercase());
772774
/// ```
773-
///
774-
/// [`make_ascii_lowercase`]: #method.make_ascii_lowercase
775775
#[unstable(feature = "osstring_ascii", issue = "none")]
776776
pub fn to_ascii_lowercase(&self) -> OsString {
777777
OsString::from_inner(self.inner.to_ascii_lowercase())
@@ -785,6 +785,8 @@ impl OsStr {
785785
///
786786
/// To uppercase the value in-place, use [`make_ascii_uppercase`].
787787
///
788+
/// [`make_ascii_uppercase`]: #method.make_ascii_uppercase
789+
///
788790
/// # Examples
789791
///
790792
/// ```
@@ -794,8 +796,6 @@ impl OsStr {
794796
///
795797
/// assert_eq!("GRüßE, JüRGEN ❤", s.to_ascii_uppercase());
796798
/// ```
797-
///
798-
/// [`make_ascii_uppercase`]: #method.make_ascii_uppercase
799799
#[unstable(feature = "osstring_ascii", issue = "none")]
800800
pub fn to_ascii_uppercase(&self) -> OsString {
801801
OsString::from_inner(self.inner.to_ascii_uppercase())

0 commit comments

Comments
 (0)