diff options
Diffstat (limited to 'src/library/scala/collection/mutable/Set.scala')
-rw-r--r-- | src/library/scala/collection/mutable/Set.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/Set.scala b/src/library/scala/collection/mutable/Set.scala index c05bfebfd6..7ac715d136 100644 --- a/src/library/scala/collection/mutable/Set.scala +++ b/src/library/scala/collection/mutable/Set.scala @@ -187,7 +187,7 @@ trait Set[A] extends collection.Set[A] with Scriptable[Message[A]] { /** Removes all elements from the set. After this operation is completed, * the set will be empty. */ - def clear: Unit + def clear(): Unit = elements foreach -= /** Send a message to this scriptable object. * |