Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libcore/str/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2199,7 +2199,7 @@ impl str {
/// Converts a string slice to a byte slice. To convert the byte slice back
/// into a string slice, use the [`str::from_utf8`] function.
///
/// [`str::from_utf8`]: ./str/fn.from_utf8.html
/// [`str::from_utf8`]: ../../std/str/fn.from_utf8.html
///
/// # Examples
///
Expand All @@ -2224,7 +2224,7 @@ impl str {
/// mutable byte slice back into a mutable string slice, use the
/// [`str::from_utf8_mut`] function.
///
/// [`str::from_utf8_mut`]: ./str/fn.from_utf8_mut.html
/// [`str::from_utf8_mut`]: ../../std/str/fn.from_utf8_mut.html
///
/// # Examples
///
Expand Down