Skip to content

Commit 571d579

Browse files
Merge pull request #8266 from robstoll/patch-22
doc(compiletime.ops): fix package
2 parents 25cdd9e + 5a39c13 commit 571d579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/reference/metaprogramming/inline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,8 @@ val x: 1 + 2 * 3 = 7
456456
```
457457

458458
The operation types are located in packages named after the type of the
459-
left-hand side parameter: for instance, `scala.compiletime.int.+` represents
460-
addition of two numbers, while `scala.compiletime.string.+` represents string
459+
left-hand side parameter: for instance, `scala.compiletime.ops.int.+` represents
460+
addition of two numbers, while `scala.compiletime.ops.string.+` represents string
461461
concatenation. To use both and distinguish the two types from each other, a
462462
match type can dispatch to the correct implementation:
463463

0 commit comments

Comments
 (0)