Skip to content

Commit db4bd9b

Browse files
committed
Fix typo, hasCode -> hashCode
1 parent d952ca8 commit db4bd9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scalatron/doc/markdown/Scalatron Tutorial.md

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

17961796
* an immutable field for each parameter of the `class` definition
17971797
* an `equals()` method that tests equality by checking each field
1798-
* a `hasCode` method that takes into account each field
1798+
* a `hashCode` method that takes into account each field
17991799
* a `toString` method that takes into account each field
18001800

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

0 commit comments

Comments
 (0)