Permalink
Browse files

fix Stream#flatten example

  • Loading branch information...
1 parent 9f0594c commit c728ff3866e0dc206afe60af5b0882b07f2c2113 @xuwei-k xuwei-k committed Dec 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/library/scala/collection/immutable/Stream.scala
@@ -955,7 +955,7 @@ self =>
* `Stream`.
* @example {{{
* val sov: Stream[Vector[Int]] = Vector(0) #:: Vector(0, 0) #:: sov.zip(sov.tail).map { n => n._1 ++ n._2 }
- * sov flatten take 10 mkString ", "
+ * sov.flatten take 10 mkString ", "
* // produces: "0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
* }}}
*/

0 comments on commit c728ff3

Please sign in to comment.