docs: std::string::String.repeat(): slightly rephrase to be more in-line with other descriptions.
add ticks around a few keywords in other descriptions.
This commit is contained in:
@@ -513,7 +513,7 @@ impl str {
|
||||
unsafe { String::from_utf8_unchecked(slice.into_vec()) }
|
||||
}
|
||||
|
||||
/// Create a [`String`] by repeating a string `n` times.
|
||||
/// Creates a new [`String`] by repeating a string `n` times.
|
||||
///
|
||||
/// [`String`]: string/struct.String.html
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user