diff --git a/docs/_docs/reference/changed-features/lazy-vals-init.md b/docs/_docs/reference/changed-features/lazy-vals-init.md index 131ac6ad7bb2..265f267e9857 100644 --- a/docs/_docs/reference/changed-features/lazy-vals-init.md +++ b/docs/_docs/reference/changed-features/lazy-vals-init.md @@ -4,8 +4,7 @@ title: Lazy Vals Initialization nightlyOf: https://docs.scala-lang.org/scala3/reference/changed-features/lazy-vals-init.html --- -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) -of the [SIP-20] improved lazy vals initialization proposal. +Scala 3 implements Version 6 of the [SIP-20] improved lazy vals initialization proposal. ## Motivation @@ -77,4 +76,4 @@ recursive lazy vals is undefined (initialization may result in a deadlock). * [SIP-20] -[SIP-20]: https://docs.scala-lang.org/sips/improved-lazy-val-initialization.html +[SIP-20]: https://github.com/scala/improvement-proposals/pull/19 diff --git a/docs/_docs/reference/new-types/union-types.md b/docs/_docs/reference/new-types/union-types.md index ebc4565e36fb..76c0ac6e674c 100644 --- a/docs/_docs/reference/new-types/union-types.md +++ b/docs/_docs/reference/new-types/union-types.md @@ -4,7 +4,7 @@ title: "Union Types" nightlyOf: https://docs.scala-lang.org/scala3/reference/new-types/union-types.html --- -A union type `A | B` has as values all values of type `A` and also all values of type `B`. +A union type `A | B` includes all values of both types. ```scala