File tree 1 file changed +2
-2
lines changed
docs/docs/reference/changed-features
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ any unicode character `c` for which `java.lang.Character.isIdentifierPart(c)` re
97
97
98
98
Infix operations involving symbolic operators are always allowed, so ` @infix ` is redundant for methods with symbolic names.
99
99
100
- The @infix annotation can also be given to a type:
100
+ The ` @infix ` annotation can also be given to a type:
101
101
```
102
102
@infix type or[X, Y]
103
103
val x: String or Int = ...
@@ -132,7 +132,7 @@ The purpose of the `@infix` annotation is to achieve consistency across a code b
132
132
133
133
can be applied using infix syntax, i.e. `A op B`.
134
134
135
- 5 . To smooth migration to Scala 3.0 , alphanumeric operations will only be deprecated from Scala 3.1 onwards,
135
+ 5 . To smooth migration to Scala 3.0 , alphanumeric operators will only be deprecated from Scala 3.1 onwards,
136
136
or if the `-strict` option is given in Dotty / Scala 3 .
137
137
138
138
## Syntax Change
You can’t perform that action at this time.
0 commit comments