Skip to content

Commit a594603

Browse files
committed
More links in std::str
1 parent 7d31ffc commit a594603

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libcore/str/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! For more details, see the [`std::str`] module.
66
//!
7-
//! [`std::str`]: ../../std/str/index.html
7+
//! [`std::str`]: self
88
99
#![stable(feature = "rust1", since = "1.0.0")]
1010

@@ -163,13 +163,11 @@ Section: Creating a string
163163
/// Errors which can occur when attempting to interpret a sequence of [`u8`]
164164
/// as a string.
165165
///
166-
/// [`u8`]: ../../std/primitive.u8.html
167-
///
168166
/// As such, the `from_utf8` family of functions and methods for both [`String`]s
169167
/// and [`&str`]s make use of this error, for example.
170168
///
171169
/// [`String`]: ../../std/string/struct.String.html#method.from_utf8
172-
/// [`&str`]: ../../std/str/fn.from_utf8.html
170+
/// [`&str`]: from_utf8
173171
///
174172
/// # Examples
175173
///

0 commit comments

Comments
 (0)