From ea70cc0ae6e2299a211496b2dab8e1dadb85fa7e Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sat, 18 Jul 2020 22:32:42 -0700 Subject: [PATCH] Clarify the literal string --- src/liballoc/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ///