diff --git a/docs/docs/reference/metaprogramming/macros.md b/docs/docs/reference/metaprogramming/macros.md index 13dc946c73dd..2dd20d0cb84a 100644 --- a/docs/docs/reference/metaprogramming/macros.md +++ b/docs/docs/reference/metaprogramming/macros.md @@ -635,7 +635,7 @@ It is possible to deconstruct or extract values out of `Expr` using pattern matc * `scala.quoted.Unlifted`: matches an expression of a value (or list of values) and returns the value (or list of values). * `scala.quoted.Const`/`scala.quoted.Consts`: Same as `Unlifted` but only works on primitive values. -* `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]]`. +* `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]]`. These could be used in the following way to optimize any call to `sum` that has statically known values.