Skip to content

Commit d9dc363

Browse files
authored
update reference to summon in macros.md
1 parent 4bd9400 commit d9dc363

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
@@ -190,7 +190,7 @@ would be rewritten to
190190
def reflect[T: Type, U: Type](f: Expr[T] => Expr[U]): Expr[T => U] =
191191
'{ (x: ${ summon[Type[T]] }) => ${ f('x) } }
192192
```
193-
The `the` query succeeds because there is a given instance of
193+
The `summon` query succeeds because there is a given instance of
194194
type `Type[T]` available (namely the given parameter corresponding
195195
to the context bound `: Type`), and the reference to that value is
196196
phase-correct. If that was not the case, the phase inconsistency for

0 commit comments

Comments
 (0)