Skip to content

Commit

Permalink
Rollup merge of rust-lang#44090 - GuillaumeGomez:str-doc, r=steveklabnik
Browse files Browse the repository at this point in the history
Add missing link in string doc

r? @rust-lang/docs
  • Loading branch information
alexcrichton committed Aug 26, 2017
2 parents 4c845f8 + 0a6c724 commit 5c64008
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/liballoc/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ use boxed::Box;
///
/// # Examples
///
/// You can create a `String` from a literal string with `String::from`:
/// You can create a `String` from a literal string with [`String::from`]:
///
/// ```
/// let hello = String::from("Hello, world!");
Expand All @@ -98,6 +98,7 @@ use boxed::Box;
/// hello.push_str("orld!");
/// ```
///
/// [`String::from`]: #method.from
/// [`char`]: ../../std/primitive.char.html
/// [`push`]: #method.push
/// [`push_str`]: #method.push_str
Expand Down

0 comments on commit 5c64008

Please sign in to comment.