about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-18 22:32:42 -0700
committerManish Goregaokar <manishsmail@gmail.com>2020-07-18 22:42:11 -0700
commitea70cc0ae6e2299a211496b2dab8e1dadb85fa7e (patch)
treebe06d5a6489de7ec50a1081c4500574018441ed4
parent8d470b57968fd875c2d9ce50446868b906f54752 (diff)
downloadrust-ea70cc0ae6e2299a211496b2dab8e1dadb85fa7e.tar.gz
rust-ea70cc0ae6e2299a211496b2dab8e1dadb85fa7e.zip
Clarify the literal string
-rw-r--r--src/liballoc/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs
index f864b763668..1c3879c40c2 100644
--- a/src/liballoc/string.rs
+++ b/src/liballoc/string.rs
@@ -65,7 +65,7 @@ use crate::vec::Vec;
 ///
 /// # 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
 ///