File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ pub fn from_mut<T>(s: &mut T) -> &mut [T; 1] {
42
42
/// without causing much metadata bloat.
43
43
///
44
44
/// The trait is marked unsafe in order to restrict implementors to fixed-size
45
- /// arrays. User of this trait can assume that implementors have the exact
45
+ /// arrays. A user of this trait can assume that implementors have the exact
46
46
/// layout in memory of a fixed size array (for example, for unsafe
47
47
/// initialization).
48
48
///
@@ -489,7 +489,7 @@ impl<T, const N: usize> [T; N] {
489
489
/// ```
490
490
///
491
491
/// This method is particularly useful if combined with other methods, like
492
- /// [`map`](#method.map). This way, you can can avoid moving the original
492
+ /// [`map`](#method.map). This way, you can avoid moving the original
493
493
/// array if its elements are not `Copy`.
494
494
///
495
495
/// ```
@@ -564,7 +564,7 @@ where
564
564
/// yields fewer than `N` items, `None` is returned and all already yielded
565
565
/// items are dropped.
566
566
///
567
- /// Since the iterator is passed as mutable reference and this function calls
567
+ /// Since the iterator is passed as a mutable reference and this function calls
568
568
/// `next` at most `N` times, the iterator can still be used afterwards to
569
569
/// retrieve the remaining items.
570
570
///
You can’t perform that action at this time.
0 commit comments