Skip to content

Commit 7404d59

Browse files
benluobishabosha
andauthored
Update _overviews/scala3-book/taste-objects.md
Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
1 parent 724e0bb commit 7404d59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/taste-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ trait MultiplyService {
119119
}
120120

121121
// implement those traits as a concrete object
122-
object MathService extends AddService, MultiplyService
122+
object MathService extends AddService with MultiplyService
123123

124124
// use the object
125125
import MathService._

0 commit comments

Comments
 (0)