Permalink
Browse files

Stream.zip naturalsEx example does not compile => remove extra zip call

  • Loading branch information...
1 parent e78473e commit 9d1e22bd92c095dd4fc1d42290bd88a961d31856 ybr committed Dec 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/library/scala/collection/immutable/Stream.scala
View
2 src/library/scala/collection/immutable/Stream.scala
@@ -625,7 +625,7 @@ self =>
*
* @example {{{
* $naturalsEx
- * naturalsFrom(1) zip naturalsFrom(2) zip take 5 foreach println
+ * naturalsFrom(1) zip naturalsFrom(2) take 5 foreach println
* // prints
* // (1,2)
* // (2,3)

0 comments on commit 9d1e22b

Please sign in to comment.