Skip to content

Commit 1360cae

Browse files
benluobishabosha
andcommitted
Update _zh-cn/overviews/scala3-book/fp-immutable-values.md
Co-authored-by: Jamie Thompson <[email protected]>
1 parent 0b00d4f commit 1360cae

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

_zh-cn/overviews/scala3-book/fp-immutable-values.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ val b = a.filter(_.startsWith("j"))
3434
同样,在 FP 中,您不会创建具有可变 `var` 构造函数参数的类。
3535
也就是说,你不要这样写:
3636

37-
```scala
3837
```scala
3938
// don’t do this in FP
4039
class Person(var firstName: String, var lastName: String)

0 commit comments

Comments
 (0)