From 5c87f285fe1bda07675daf45e2b25f57f2b3754d Mon Sep 17 00:00:00 2001 From: Michael Kinsey Date: Sun, 1 Oct 2017 12:06:34 -0500 Subject: [PATCH] Fix typo in pattern-matching.md --- _tour/pattern-matching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tour/pattern-matching.md b/_tour/pattern-matching.md index 539f49c034..5a6d4969c4 100644 --- a/_tour/pattern-matching.md +++ b/_tour/pattern-matching.md @@ -131,7 +131,7 @@ def goIdle(device: Device) = device match { `def goIdle` has a different behavior depending on the type of `Device`. This is useful when the case needs to call a method on the pattern. It is a convention to use the first letter of the type as the case identifier (`p` and `c` in this case). ## Sealed classes -Traits and classes can be marked `sealed` which means all subtypes must be declared in the same file. The assures that all subtypes are known. +Traits and classes can be marked `sealed` which means all subtypes must be declared in the same file. This assures that all subtypes are known. ```tut sealed abstract class Furniture