From 11f3918ca2c7913f7976a42539646dc28e86ffcf Mon Sep 17 00:00:00 2001 From: Matthias Krüger Date: Wed, 22 Aug 2018 08:06:39 +0200 Subject: docs: std::string::String.repeat(): slightly rephrase to be more in-line with other descriptions. add ticks around a few keywords in other descriptions. --- src/liballoc/str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liballoc/str.rs') diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs index 870bf971cd3..c451a051c74 100644 --- a/src/liballoc/str.rs +++ b/src/liballoc/str.rs @@ -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 /// -- cgit 1.4.1-3-g733a5