Skip to content

Commit 160c835

Browse files
committed
(overview) Fix zh-cn in pr#1398, with more polish-es.
1 parent 771034b commit 160c835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_zh-cn/overviews/core/value-classes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ value类在以下情况下,需要真正实例化:
127127
2. ... 不能有特殊的类型参数。
128128
3. ... 不能有嵌套或局部的类、特质或对象。
129129
4. ... 不能定义equals或hashCode方法。
130-
5. ... 必须是一个顶级类,或静态访问对象的一个成员
131-
6. ... 仅能有def为成员。尤其是,成员不能有惰性val、val或者var
130+
5. ... 必须是一个顶级类,或静态访问对象的一个成员
131+
6. ... 仅能有def为成员。尤其是,成员不能有惰性val、val或者var。
132132
7. ... 不能被其它类继承。
133133

134134
### 限制示例

0 commit comments

Comments
 (0)