diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2007-04-26 13:37:47 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2007-04-26 13:37:47 +0000 |
commit | 8d2349581f5694704fb1bebc713339d46823ec67 (patch) | |
tree | 44be4d4b13a50c44a22e3310e9a2b24baa9cbf44 /docs/examples/actors | |
parent | 99630e293745f07ac3e88582872230c015a4f963 (diff) | |
download | scala-8d2349581f5694704fb1bebc713339d46823ec67.tar.gz scala-8d2349581f5694704fb1bebc713339d46823ec67.tar.bz2 scala-8d2349581f5694704fb1bebc713339d46823ec67.zip |
Updated examples wrt.
Diffstat (limited to 'docs/examples/actors')
-rw-r--r-- | docs/examples/actors/producers.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/actors/producers.scala b/docs/examples/actors/producers.scala index c45ed63ed3..859de901e6 100644 --- a/docs/examples/actors/producers.scala +++ b/docs/examples/actors/producers.scala @@ -102,11 +102,11 @@ object producers extends Application { actor { Console.print("PreOrder:") - for (val x <- new PreOrder(tree).iterator) Console.print(" "+x) + for (x <- new PreOrder(tree).iterator) Console.print(" "+x) Console.print("\nPostOrder:") - for (val x <- new PostOrder(tree).iterator) Console.print(" "+x) + for (x <- new PostOrder(tree).iterator) Console.print(" "+x) Console.print("\nInOrder:") - for (val x <- new InOrder(tree).iterator) Console.print(" "+x) + for (x <- new InOrder(tree).iterator) Console.print(" "+x) Console.print("\n") } } |