diff options
Diffstat (limited to 'src/library/scala/collection/IterableViewLike.scala')
-rw-r--r-- | src/library/scala/collection/IterableViewLike.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/collection/IterableViewLike.scala b/src/library/scala/collection/IterableViewLike.scala index 5164cf62f1..5a2db7e02f 100644 --- a/src/library/scala/collection/IterableViewLike.scala +++ b/src/library/scala/collection/IterableViewLike.scala @@ -14,7 +14,7 @@ package scala.collection import generic._ import TraversableView.NoBuilder -/** A base class for views of Iterables. +/** A template trait for a non-strict view of an iterable. * * @author Martin Odersky * @version 2.8 @@ -64,8 +64,8 @@ extends Iterable[A] with IterableLike[A, This] with TraversableView[A, Coll] wit trait ZippedAll[A1 >: A, B] extends Transformed[(A1, B)] { protected[this] val other: Iterable[B] - val thisElem: A1 - val thatElem: B + protected[this] val thisElem: A1 + protected[this] val thatElem: B override def iterator: Iterator[(A1, B)] = self.iterator.zipAll(other.iterator, thisElem, thatElem) } |