Skip to content

Commit 340b731

Browse files
authored
Rollup merge of #71121 - AnthonyMikh:fix_string_doc_link, r=Dylan-DPC
Fix broken link in documentation for String::from_utf8
2 parents 0316729 + 15ba31d commit 340b731

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)