Skip to content

Commit 5cd4189

Browse files
alvinjjulienrf
andcommitted
Update _overviews/overview/a-taste-of-scala.md
Co-authored-by: Julien Richard-Foy <julien@richard-foy.fr>
1 parent e2b11c0 commit 5cd4189

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

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

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

13191319

13201320

1321-

0 commit comments

Comments
 (0)