Skip to content

Commit fc10c4c

Browse files
paulpdcsobral
authored andcommitted
Merge pull request scala#42 from jamie-allen/master
DocSpree
1 parent d6faa07 commit fc10c4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/library/scala/collection/immutable/Stream.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,9 @@ self =>
508508

509509
}
510510

511-
/** See #3273 and test case run/bug3273 for motivation. */
511+
/** A specialized, extra-lazy implementation of a stream iterator, so it can
512+
* iterate as lazily as it traverses the tail.
513+
*/
512514
final class StreamIterator[+A](self: Stream[A]) extends Iterator[A] {
513515
// A call-by-need cell.
514516
class LazyCell(st: => Stream[A]) {

0 commit comments

Comments
 (0)