Skip to content

Commit 74b324d

Browse files
committed
Update Scalatron/doc/tutorial/tutorial_20_bot_09.md
1 parent 9a19342 commit 74b324d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scalatron/doc/tutorial/tutorial_20_bot_09.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ The modifier keyword `case` before the `class` keyword basically instructs the c
217217

218218
* an immutable field for each parameter of the `class` definition
219219
* an `equals()` method that tests equality by checking each field
220-
* a `hasCode` method that takes into account each field
220+
* a `hashCode` method that takes into account each field
221221
* a `toString` method that takes into account each field
222222

223223
as well as a few others. Upgrading a `class` to a `case class` also automatically

0 commit comments

Comments
 (0)