about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/mod.rs7
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
     ///