diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 9c0db5d98725d..26d37351b4bbe 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -4315,7 +4315,7 @@ impl str { /// Note: only extended grapheme codepoints that begin the string will be /// escaped. /// - /// [`char::escape_debug`]: ../std/primitive.char.html#method.escape_debug + /// [`char::escape_debug`]: ../../std/primitive.char.html#method.escape_debug /// /// # Examples /// @@ -4361,7 +4361,7 @@ impl str { /// Return an iterator that escapes each char in `self` with [`char::escape_default`]. /// - /// [`char::escape_default`]: ../std/primitive.char.html#method.escape_default + /// [`char::escape_default`]: ../../std/primitive.char.html#method.escape_default /// /// # Examples /// @@ -4399,7 +4399,7 @@ impl str { /// Return an iterator that escapes each char in `self` with [`char::escape_unicode`]. /// - /// [`char::escape_unicode`]: ../std/primitive.char.html#method.escape_unicode + /// [`char::escape_unicode`]: ../../std/primitive.char.html#method.escape_unicode /// /// # Examples ///