We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7768cc5 commit 4cec499Copy full SHA for 4cec499
src/main/scala/scalatutorial/sections/ImperativeProgramming.scala
@@ -308,7 +308,7 @@ object ImperativeProgramming extends ScalaTutorialSection {
308
* In Scala there is a kind of `for` loop:
309
*
310
* {{{
311
- * for (i <- 1 until 3) { System.out.print(i + " ") }
+ * for (i <- 1 until 3) { System.out.print(i.toString + " ") }
312
* }}}
313
314
* This displays `1 2`.
0 commit comments