manual: fixes the wording of case statement macros
This commit is contained in:
parent
4046ee818f
commit
a0ec1c1212
1 changed files with 3 additions and 3 deletions
|
|
@ -5592,12 +5592,12 @@ via ``{.experimental: "caseStmtMacros".}``.
|
|||
|
||||
``match`` macros are subject to overload resolution. First the
|
||||
``case``'s selector expression is used to determine which ``match``
|
||||
macro to call. To this macro is then the complete ``case`` statement
|
||||
body is passed and the macro is evaluated.
|
||||
macro to call. To this macro is then passed the complete ``case``
|
||||
statement body and the macro is evaluated.
|
||||
|
||||
In other words, the macro needs to transform the full ``case`` statement
|
||||
but only the statement's selector expression is used to determine which
|
||||
``macro`` to call.
|
||||
macro to call.
|
||||
|
||||
|
||||
Special Types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue