File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ impl str {
513
513
unsafe { String :: from_utf8_unchecked ( slice. into_vec ( ) ) }
514
514
}
515
515
516
- /// Create a [`String`] by repeating a string `n` times.
516
+ /// Creates a new [`String`] by repeating a string `n` times.
517
517
///
518
518
/// [`String`]: string/struct.String.html
519
519
///
Original file line number Diff line number Diff line change @@ -752,7 +752,7 @@ impl String {
752
752
self . vec
753
753
}
754
754
755
- /// Extracts a string slice containing the entire string .
755
+ /// Extracts a string slice containing the entire `String` .
756
756
///
757
757
/// # Examples
758
758
///
@@ -1454,8 +1454,8 @@ impl String {
1454
1454
self . vec . clear ( )
1455
1455
}
1456
1456
1457
- /// Creates a draining iterator that removes the specified range in the string
1458
- /// and yields the removed chars.
1457
+ /// Creates a draining iterator that removes the specified range in the `String`
1458
+ /// and yields the removed ` chars` .
1459
1459
///
1460
1460
/// Note: The element range is removed even if the iterator is not
1461
1461
/// consumed until the end.
You can’t perform that action at this time.
0 commit comments