Skip to content

Commit 0c82db7

Browse files
Address review
2 parents 50a7f3f + b5a63a3 commit 0c82db7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/blog/_posts/2021-02-18-scala3-rc1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import NumPy as np
3232

3333
For the details and discussion, see [PR #11244](https://github.com/lampepfl/dotty/pull/11244). Read more about this change in the [documentation](https://dotty.epfl.ch/docs/reference/changed-features/imports.html).
3434

35-
# Use `uninitialized` for wildcard initializers
36-
An obscure use of _ occurs in var definitions:
35+
# Use `unitialized` for wildcard initializers
36+
An obscure use of underscore (`_`) occurs in var definitions:
3737

3838
```scala
3939
var x: T = _
@@ -76,7 +76,7 @@ Results in:
7676
```scala
7777
1 |f(Foo)
7878
| ^^^
79-
|The method `apply` is inserted. The auto insertion will be deprecated, please write `rs$line$1$#Foo.apply` explicitly.
79+
|The method `apply` is inserted. The auto insertion will be deprecated, please write `Foo.apply` explicitly.
8080
```
8181

8282
As the warning suggests, now you should write `Foo.apply` instead of `Foo`. See [Issue #6190](https://github.com/lampepfl/dotty/issues/6190) and [PR #7207](https://github.com/lampepfl/dotty/pull/7207) for discussion.

0 commit comments

Comments
 (0)