Skip to content

Commit 8d8bbd8

Browse files
committed
add space in function call in pattern matching page for other langs
1 parent d8374fb commit 8d8bbd8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

_ba/tour/pattern-matching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ U `case Email(email, _, _) if importantPeopleInfo.contains(email)`, uzorak se po
123123
Možete podudarati samo tip ovako:
124124
```tut
125125
abstract class Device
126-
case class Phone(model: String) extends Device{
126+
case class Phone(model: String) extends Device {
127127
def screenOff = "Turning screen off"
128128
}
129129
case class Computer(model: String) extends Device {

_ja/tour/pattern-matching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ println(showImportantNotification(importantSms, importantPeopleInfo))
126126
以下のように型のみでマッチすることができます。
127127
```tut
128128
abstract class Device
129-
case class Phone(model: String) extends Device{
129+
case class Phone(model: String) extends Device {
130130
def screenOff = "Turning screen off"
131131
}
132132
case class Computer(model: String) extends Device {

_ru/tour/pattern-matching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ println(showImportantNotification(importantSms, importantPeopleInfo))
116116
Вы можете сопоставлять только по типу как в примере:
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 {

_zh-cn/tour/pattern-matching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ println(showImportantNotification(importantSms, importantPeopleInfo))
118118
也可以仅匹配类型,如下所示:
119119
```tut
120120
abstract class Device
121-
case class Phone(model: String) extends Device{
121+
case class Phone(model: String) extends Device {
122122
def screenOff = "Turning screen off"
123123
}
124124
case class Computer(model: String) extends Device {

0 commit comments

Comments
 (0)