Skip to content

Commit c2cdeaf

Browse files
authored
Merge pull request #165 from scala/backport-lts-3.3-22313
Backport "fix: typo in documentation for Tuple.zip" to 3.3 LTS
2 parents d4b0bdd + 0c89cff commit c2cdeaf

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)