Skip to content

Commit 15ba31d

Browse files
authored
Fix broken link in documentation for String::from_utf8
1 parent 7520894 commit 15ba31d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/liballoc/string.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ impl String {
482482
/// [`String`]: struct.String.html
483483
/// [`u8`]: ../../std/primitive.u8.html
484484
/// [`Vec<u8>`]: ../../std/vec/struct.Vec.html
485+
/// [`&str`]: ../../std/primitive.str.html
485486
/// [`str::from_utf8`]: ../../std/str/fn.from_utf8.html
486487
/// [`into_bytes`]: struct.String.html#method.into_bytes
487488
/// [`FromUtf8Error`]: struct.FromUtf8Error.html

0 commit comments

Comments
 (0)