File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ title: Lazy Vals Initialization
4
4
nightlyOf : https://docs.scala-lang.org/scala3/reference/changed-features/lazy-vals-init.html
5
5
---
6
6
7
- Scala 3 implements [ Version 6] ( https://docs.scala-lang.org/sips/improved-lazy-val-initialization.html#version-6---no-synchronization-on-this-and-concurrent-initialization-of-fields )
8
- of the [ SIP-20] improved lazy vals initialization proposal.
7
+ Scala 3 implements Version 6 of the [ SIP-20] improved lazy vals initialization proposal.
9
8
10
9
## Motivation
11
10
@@ -77,4 +76,4 @@ recursive lazy vals is undefined (initialization may result in a deadlock).
77
76
78
77
* [ SIP-20]
79
78
80
- [ SIP-20 ] : https://docs. scala-lang.org/sips/improved-lazy-val-initialization.html
79
+ [ SIP-20 ] : https://github.com/ scala/improvement-proposals/pull/19
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ title: "Union Types"
4
4
nightlyOf : https://docs.scala-lang.org/scala3/reference/new-types/union-types.html
5
5
---
6
6
7
- A union type ` A | B ` has as values all values of type ` A ` and also all values of type ` B ` .
7
+ A union type ` A | B ` includes all values of both types .
8
8
9
9
10
10
``` scala
You can’t perform that action at this time.
0 commit comments