Skip to content

Commit 58cc3f6

Browse files
Merge pull request #8016 from lampepfl/bishabosha-patch-2
update reference to summon in macros.md
2 parents 376f5b0 + d9dc363 commit 58cc3f6

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)