Skip to content

Commit 0c89cff

Browse files
xiaoshihou514tgodzik
authored andcommitted
fix: typo in documentation for Tuple.zip
[Cherry-picked 8227258]
1 parent 2553f3e commit 0c89cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/Tuple.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ sealed trait Tuple extends Product {
4141
inline def size[This >: this.type <: Tuple]: Size[This] =
4242
runtime.Tuples.size(this).asInstanceOf[Size[This]]
4343

44-
/** Given two tuples, `(a1, ..., an)` and `(a1, ..., an)`, returns a tuple
44+
/** Given two tuples, `(a1, ..., an)` and `(b1, ..., bn)`, returns a tuple
4545
* `((a1, b1), ..., (an, bn))`. If the two tuples have different sizes,
4646
* the extra elements of the larger tuple will be disregarded.
4747
* The result is typed as `((A1, B1), ..., (An, Bn))` if at least one of the

0 commit comments

Comments
 (0)