Skip to content

Commit d104ee0

Browse files
Update docs/blog/_posts/2020-12-18-scala3-m3.md
Co-authored-by: Sébastien Doeraene <[email protected]>
1 parent fb28bd2 commit d104ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/blog/_posts/2020-12-18-scala3-m3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Since we dropped `as` from `given`s, we lost a strong reason for having `as` at
6262
case opt as Some(foo)
6363
```
6464

65-
Now it got reverted to the Scala 2 style:
65+
Instead, code that used it should be reverted to use the existing syntax of Scala 2, using `@`:
6666

6767
```scala
6868
case opt @ Some(foo)

0 commit comments

Comments
 (0)