Skip to content

Commit dc0bb59

Browse files
authored
fix: typo in documentation for Tuple.zip (#22313)
## Before ```scala /** Given two tuples, `(a1, ..., an)` and `(a1, ..., an)`, returns a tuple * `((a1, b1), ..., (an, bn))` ... */ ``` ## After ```scala /** Given two tuples, `(a1, ..., an)` and `(b1, ..., bn)`, returns a tuple * `((a1, b1), ..., (an, bn))` ... */ ```
2 parents d16453e + 8227258 commit dc0bb59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/src/scala/Tuple.scala

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

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

0 commit comments

Comments
 (0)