Skip to content

Commit d8374fb

Browse files
committed
add space in function call in pattern matching page
1 parent a04f74c commit d8374fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/pattern-matching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ In the `case Email(sender, _, _) if importantPeopleInfo.contains(sender)`, the p
116116
You can match on the type like so:
117117
```tut
118118
abstract class Device
119-
case class Phone(model: String) extends Device{
119+
case class Phone(model: String) extends Device {
120120
def screenOff = "Turning screen off"
121121
}
122122
case class Computer(model: String) extends Device {

0 commit comments

Comments
 (0)