Skip to content

Commit 67d9790

Browse files
authored
Merge pull request #10586 from mpickering/patch-2
Typo in metaprogramming documentation
2 parents 067cc79 + 099cddf commit 67d9790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/metaprogramming/macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ It is possible to deconstruct or extract values out of `Expr` using pattern matc
634634

635635
* `scala.quoted.Unlifted`: matches an expression of a value (or list of values) and returns the value (or list of values).
636636
* `scala.quoted.Const`/`scala.quoted.Consts`: Same as `Unlifted` but only works on primitive values.
637-
* `scala.quoted.Varargs`: matches an explicit sequence of expresions and returns them. These sequences are useful to get individual `Expr[T]` out of a varargs expression of type `Expr[Seq[T]]`.
637+
* `scala.quoted.Varargs`: matches an explicit sequence of expressions and returns them. These sequences are useful to get individual `Expr[T]` out of a varargs expression of type `Expr[Seq[T]]`.
638638

639639

640640
These could be used in the following way to optimize any call to `sum` that has statically known values.

0 commit comments

Comments
 (0)