We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c845f8 + 0a6c724 commit 5c64008Copy full SHA for 5c64008
src/liballoc/string.rs
@@ -82,7 +82,7 @@ use boxed::Box;
82
///
83
/// # Examples
84
85
-/// You can create a `String` from a literal string with `String::from`:
+/// You can create a `String` from a literal string with [`String::from`]:
86
87
/// ```
88
/// let hello = String::from("Hello, world!");
@@ -98,6 +98,7 @@ use boxed::Box;
98
/// hello.push_str("orld!");
99
100
101
+/// [`String::from`]: #method.from
102
/// [`char`]: ../../std/primitive.char.html
103
/// [`push`]: #method.push
104
/// [`push_str`]: #method.push_str
0 commit comments