Skip to content

Commit d982cd3

Browse files
committed
Fix typo in doc
1 parent c246a5c commit d982cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/changed-features/pattern-bindings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The filtering functionality can be obtained in Scala 3 by prefixing the pattern
4949

5050
## Syntax Changes
5151

52-
There are two syntax changes relative to Scala 2: First, pattern definitions can carry ascriptions such as `: unchecked`. Second, generators in for expressions may be prefixed with `case`.
52+
There are two syntax changes relative to Scala 2: First, pattern definitions can carry ascriptions such as `: @unchecked`. Second, generators in for expressions may be prefixed with `case`.
5353
```
5454
PatDef ::= ids [‘:’ Type] ‘=’ Expr
5555
| Pattern2 [‘:’ Type | Ascription] ‘=’ Expr

0 commit comments

Comments
 (0)