Skip to content

Commit 0c7cd0a

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

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
@@ -592,7 +592,7 @@ trait Runner:
592592
Given those traits, here’s a `Dog` class that extends all of those traits while providing a behavior for the abstract `speak` method:
593593

594594
```scala
595-
class Dog(name: String) extends Speaker with TailWagger with Runner:
595+
class Dog(name: String) extends Speaker, TailWagger, Runner:
596596
def speak(): String = "Woof!"
597597
```
598598

@@ -1317,4 +1317,3 @@ Scala has even more features that weren’t covered in this whirlwind tour. See
13171317

13181318

13191319

1320-

0 commit comments

Comments
 (0)