Skip to content

Commit 7d1c790

Browse files
xhudikb-studios
andcommitted
added commas
Co-authored-by: Jonathan <[email protected]>
1 parent 11da4fc commit 7d1c790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/methods-most.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ This method works just like the previous method that used an `if`/`else` express
267267

268268
## Controlling visibility in classes
269269

270-
In classes, objects, traits and enums Scala methods are public by default, so the `Dog` instance created here can access the `speak` method:
270+
In classes, objects, traits, and enums, Scala methods are public by default, so the `Dog` instance created here can access the `speak` method:
271271

272272
```scala
273273
class Dog:

0 commit comments

Comments
 (0)