Skip to content

Commit 44729e4

Browse files
alvinjjulienrf
andauthored
Update _overviews/overview/a-taste-of-scala.md
Co-authored-by: Julien Richard-Foy <[email protected]>
1 parent 5ac6615 commit 44729e4

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
@@ -369,7 +369,7 @@ The `for` keyword can be used to create a `for` loop. This example shows how to
369369
```scala
370370
val ints = List(1,2,3,4,5)
371371

372-
for (i <- ints) println(i)
372+
for i <- ints do println(i)
373373
```
374374

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

13201320

13211321

1322-

0 commit comments

Comments
 (0)