Skip to content

Commit 34a0cba

Browse files
committed
Merge pull request #492 from boonedox/bugfix/case-classes-typo
fix typo in case classes documentation
2 parents 6e13359 + f8d9849 commit 34a0cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/tour/case-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ will print
4343
Var(x) == Var(x) => true
4444
Var(x) == Var(y) => false
4545

46-
It makes only sense to define case classes if pattern matching is used to decompose data structures. The following [object](singleton-objects.html) defines a pretty printer function for our lambda calculus representation:
46+
It only makes sense to define case classes if pattern matching is used to decompose data structures. The following [object](singleton-objects.html) defines a pretty printer function for our lambda calculus representation:
4747

4848
object TermTest extends scala.App {
4949
def printTerm(term: Term) {

0 commit comments

Comments
 (0)