summaryrefslogtreecommitdiff
path: root/src/library/scala/Tuple2.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2012-03-06 17:48:42 +0100
committerMartin Odersky <odersky@gmail.com>2012-03-06 17:50:40 +0100
commit1e9277689461452c594dc547dc0b0ceab8cd3e7d (patch)
tree07a4cb55a4f90d05dcd093e3d7b562ba28513e6d /src/library/scala/Tuple2.scala
parentfa55e4f0f8d2834becdb9a9aef9c3ea65cb31fee (diff)
downloadscala-1e9277689461452c594dc547dc0b0ceab8cd3e7d.tar.gz
scala-1e9277689461452c594dc547dc0b0ceab8cd3e7d.tar.bz2
scala-1e9277689461452c594dc547dc0b0ceab8cd3e7d.zip
Fixes to value classes: Flags now double definitions, private constructors as errors. Fixed erasure scheme.
Diffstat (limited to 'src/library/scala/Tuple2.scala')
-rw-r--r--src/library/scala/Tuple2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Tuple2.scala b/src/library/scala/Tuple2.scala
index dd6ac0cfd2..ad3f7df697 100644
--- a/src/library/scala/Tuple2.scala
+++ b/src/library/scala/Tuple2.scala
@@ -23,7 +23,7 @@ case class Tuple2[@specialized(Int, Long, Double) +T1, @specialized(Int, Long, D
extends Product2[T1, T2]
{
override def toString() = "(" + _1 + "," + _2 + ")"
-
+
/** Swaps the elements of this `Tuple`.
* @return a new Tuple where the first element is the second element of this Tuple and the
* second element is the first element of this Tuple.