summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library/scala/collection/TraversableOnce.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library/scala/collection/TraversableOnce.scala b/src/library/scala/collection/TraversableOnce.scala
index e99206498c..451ebe4b92 100644
--- a/src/library/scala/collection/TraversableOnce.scala
+++ b/src/library/scala/collection/TraversableOnce.scala
@@ -22,6 +22,9 @@ import mutable.{ Buffer, ListBuffer, ArrayBuffer }
* It represents the implementations common to Iterators and
* Traversables, such as folds, conversions, and other operations which
* traverse some or all of the elements and return a derived value.
+ * Note that, while all the methods here can implemented in terms of
+ * foreach, some of them are defined in subtraits such as `TraversableLike`
+ * and `Iterator`.
*
* @author Martin Odersky
* @author Paul Phillips