Add missing link in string doc
This commit is contained in:
parent
a4d11495f9
commit
0a6c724dde
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,7 @@ use boxed::Box;
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # 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!");
|
/// let hello = String::from("Hello, world!");
|
||||||
|
@ -98,6 +98,7 @@ use boxed::Box;
|
||||||
/// hello.push_str("orld!");
|
/// hello.push_str("orld!");
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
/// [`String::from`]: #method.from
|
||||||
/// [`char`]: ../../std/primitive.char.html
|
/// [`char`]: ../../std/primitive.char.html
|
||||||
/// [`push`]: #method.push
|
/// [`push`]: #method.push
|
||||||
/// [`push_str`]: #method.push_str
|
/// [`push_str`]: #method.push_str
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue