Skip to content

Commit 4922e7f

Browse files
authored
doc(operators): wrap one more annotation
1 parent 082841d commit 4922e7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/reference/changed-features/operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ any unicode character `c` for which `java.lang.Character.isIdentifierPart(c)` re
9797

9898
Infix operations involving symbolic operators are always allowed, so `@infix` is redundant for methods with symbolic names.
9999

100-
The @infix annotation can also be given to a type:
100+
The `@infix` annotation can also be given to a type:
101101
```
102102
@infix type or[X, Y]
103103
val x: String or Int = ...
@@ -132,7 +132,7 @@ The purpose of the `@infix` annotation is to achieve consistency across a code b
132132

133133
can be applied using infix syntax, i.e. `A op B`.
134134

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,
136136
or if the `-strict` option is given in Dotty/Scala 3.
137137

138138
## Syntax Change

0 commit comments

Comments
 (0)