Skip to content

Commit ea70cc0

Browse files
committed
Clarify the literal string
1 parent 8d470b5 commit ea70cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/string.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ use crate::vec::Vec;
6565
///
6666
/// # Examples
6767
///
68-
/// You can create a `String` from a literal string with [`String::from`]:
68+
/// You can create a `String` from [a literal string][str] with [`String::from`]:
6969
///
7070
/// [`String::from`]: From::from
7171
///

0 commit comments

Comments
 (0)