Skip to content

Commit

Permalink
Fix typos in Tuple docs
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge authored and olsdavis committed Apr 4, 2022
1 parent a41d384 commit 3b10660
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/src/scala/Tuple.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import compiletime.ops.int._
sealed trait Tuple extends Product {
import Tuple._

/** Create a copy this tuple as an Array */
/** Create a copy of this tuple as an Array */
inline def toArray: Array[Object] =
runtime.Tuples.toArray(this)

/** Create a copy this tuple as a List */
/** Create a copy of this tuple as a List */
inline def toList: List[Union[this.type]] =
this.productIterator.toList
.asInstanceOf[List[Union[this.type]]]

/** Create a copy this tuple as an IArray */
/** Create a copy of this tuple as an IArray */
inline def toIArray: IArray[Object] =
runtime.Tuples.toIArray(this)

Expand Down

0 comments on commit 3b10660

Please sign in to comment.