summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/Cloneable.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/collection/mutable/Cloneable.scala')
-rw-r--r--src/library/scala/collection/mutable/Cloneable.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/collection/mutable/Cloneable.scala b/src/library/scala/collection/mutable/Cloneable.scala
index 28bf2ceb8e..e6fbce415a 100644
--- a/src/library/scala/collection/mutable/Cloneable.scala
+++ b/src/library/scala/collection/mutable/Cloneable.scala
@@ -20,5 +20,6 @@ package mutable
@cloneable
trait Cloneable[+A <: AnyRef] {
// !!! why doesn't this extend java.lang.Cloneable?
+ // because neither did @serializable, then we changed it to Serializable
override def clone: A = super.clone().asInstanceOf[A]
}