mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Clarify the literal string
This commit is contained in:
parent
8d470b5796
commit
ea70cc0ae6
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user