Skip to content

Commit 006dac9

Browse files
alvinjjulienrf
andcommitted
Update _overviews/overview/a-taste-of-scala.md
Co-authored-by: Julien Richard-Foy <[email protected]>
1 parent 97e96f8 commit 006dac9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_overviews/overview/a-taste-of-scala.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ The `for` keyword can be used to create a `for` loop. This example shows how to
371371
```scala
372372
val ints = List(1,2,3,4,5)
373373

374-
for (i <- ints) println(i)
374+
for i <- ints do println(i)
375375
```
376376

377377
<!--
@@ -1320,4 +1320,3 @@ Scala has even more features that weren’t covered in this whirlwind tour. See
13201320

13211321

13221322

1323-

0 commit comments

Comments
 (0)