Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b4a0589

Browse files
authoredAug 31, 2020
Update traits-abstract-mixins.md
1 parent 6d2caf1 commit b4a0589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎_overviews/scala-book/traits-abstract-mixins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ trait Pet {
2828
}
2929
```
3030

31-
When a class extends a trait, each defined method must be implemented, so here’s a class that extends `Pet` and defines `comeToMaster`:
31+
When a class extends a trait, each abstract method must be implemented, so here’s a class that extends `Pet` and defines `comeToMaster`:
3232

3333
```scala
3434
class Dog(name: String) extends Pet {

0 commit comments

Comments
 (0)
Please sign in to comment.