Skip to content

Commit 72b73fc

Browse files
committed
punctuation
1 parent cffdfe2 commit 72b73fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_zh-cn/tour/case-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ previous-page: multiple-parameter-lists
1717
案例类(Case classes)和普通类差不多,只有几点关键差别,接下来的介绍将会涵盖这些差别。案例类非常适合用于不可变的数据。下一节将会介绍他们在[模式匹配](pattern-matching.html)中的应用。
1818

1919
## 定义一个案例类
20-
一个最简单的案例类定义由关键字`case class`,类名,参数列表(可为空)组成:
20+
一个最简单的案例类定义由关键字`case class`,类名,参数列表(可为空)组成
2121
```tut
2222
case class Book(isbn: String)
2323

0 commit comments

Comments
 (0)