From cfa6808a9e965b9b96dbd875a72900af01a192aa Mon Sep 17 00:00:00 2001 From: Aleksandar Pokopec Date: Wed, 17 Nov 2010 17:49:25 +0000 Subject: Closes #3958. No review. --- src/library/scala/collection/TraversableOnce.scala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/library') 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 -- cgit v1.2.3