Skip to content

Commit

Permalink
Update doc comment
Browse files Browse the repository at this point in the history
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
  • Loading branch information
usbalbin and m-ou-se authored Dec 16, 2020
1 parent be2c8f2 commit baa5e47
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions library/core/src/array/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,11 @@ impl<T, const N: usize> [T; N] {
}

/// 'Zips up' two arrays into a single array of pairs.
/// `zip()` returns a new array where every element is a tuple where the first element comes from the first array, and the second element comes from the second array.
/// In other words, it zips two arrays together, into a single one.
///
/// `zip()` returns a new array where every element is a tuple where the
/// first element comes from the first array, and the second element comes
/// from the second array. In other words, it zips two arrays together,
/// into a single one.
///
/// # Examples
///
Expand Down

0 comments on commit baa5e47

Please sign in to comment.