diff options
author | Paul Phillips <paulp@improving.org> | 2011-07-15 22:59:08 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-07-15 22:59:08 +0000 |
commit | 21c0730f7f08e7e2d236700428f3062a2d3ce0cc (patch) | |
tree | bbb9d4de1dc2812fdfd421758b9331fc7b83453d | |
parent | 3010da22471cda8064f629ddad24abf00675d36f (diff) | |
download | scala-21c0730f7f08e7e2d236700428f3062a2d3ce0cc.tar.gz scala-21c0730f7f08e7e2d236700428f3062a2d3ce0cc.tar.bz2 scala-21c0730f7f08e7e2d236700428f3062a2d3ce0cc.zip |
Merge pull request #42 from jamie-allen/master
DocSpree
-rw-r--r-- | src/library/scala/collection/immutable/Stream.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/library/scala/collection/immutable/Stream.scala b/src/library/scala/collection/immutable/Stream.scala index 4cb7fc43d1..c32c5b3640 100644 --- a/src/library/scala/collection/immutable/Stream.scala +++ b/src/library/scala/collection/immutable/Stream.scala @@ -508,7 +508,9 @@ self => } -/** See #3273 and test case run/bug3273 for motivation. */ +/** A specialized, extra-lazy implementation of a stream iterator, so it can + * iterate as lazily as it traverses the tail. + */ final class StreamIterator[+A](self: Stream[A]) extends Iterator[A] { // A call-by-need cell. class LazyCell(st: => Stream[A]) { |