diff options
| author | Albin Hedman <albin9604@gmail.com> | 2020-12-16 21:12:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-16 21:12:10 +0100 |
| commit | baa5e47106cd3544f4eb06317eea1a174d6e2341 (patch) | |
| tree | 6c416cd3b62ee5764a7df7fe4f883edfc36121c4 /library/core/src/array | |
| parent | be2c8f2d436d777cbdac73f6dd238ea135048ff5 (diff) | |
| download | rust-baa5e47106cd3544f4eb06317eea1a174d6e2341.tar.gz rust-baa5e47106cd3544f4eb06317eea1a174d6e2341.zip | |
Update doc comment
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
Diffstat (limited to 'library/core/src/array')
| -rw-r--r-- | library/core/src/array/mod.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs index 9de87922f54..6791f0e7444 100644 --- a/library/core/src/array/mod.rs +++ b/library/core/src/array/mod.rs @@ -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 /// |
