File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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] {
4242/// without causing much metadata bloat.
4343///
4444/// 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
4646/// layout in memory of a fixed size array (for example, for unsafe
4747/// initialization).
4848///
@@ -489,7 +489,7 @@ impl<T, const N: usize> [T; N] {
489489 /// ```
490490 ///
491491 /// 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
493493 /// array if its elements are not `Copy`.
494494 ///
495495 /// ```
@@ -564,7 +564,7 @@ where
564564/// yields fewer than `N` items, `None` is returned and all already yielded
565565/// items are dropped.
566566///
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
568568/// `next` at most `N` times, the iterator can still be used afterwards to
569569/// retrieve the remaining items.
570570///
You can’t perform that action at this time.
0 commit comments