]> git.lizzy.rs Git - rust.git/commitdiff
Clarify the literal string
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 19 Jul 2020 05:32:42 +0000 (22:32 -0700)
committerManish Goregaokar <manishsmail@gmail.com>
Sun, 19 Jul 2020 05:42:11 +0000 (22:42 -0700)
src/liballoc/string.rs

index f864b763668061eceb5f5cf647f65cbeb1af6e42..1c3879c40c2f94c384009967e4c5e5a73bdb5bde 100644 (file)
@@ -65,7 +65,7 @@
 ///
 /// # Examples
 ///
-/// You can create a `String` from a literal string with [`String::from`]:
+/// You can create a `String` from [a literal string][str] with [`String::from`]:
 ///
 /// [`String::from`]: From::from
 ///