Skip to content

Commit ea2a975

Browse files
Merge pull request #12732 from Flowdalic/macros-show-expr-fix-htmlized
macros.md: Fix htmlized variant of first source code example
2 parents b546ece + f7a24ba commit ea2a975

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
@@ -40,7 +40,7 @@ def assertImpl(expr: Expr[Boolean])(using Quotes) = '{
4040
}
4141

4242
def showExpr(expr: Expr[Boolean])(using Quotes): Expr[String] =
43-
'{ "<some source code>" } // Better implementation later in this document
43+
'{ [actual implementation later in this document] }
4444
```
4545

4646
If `e` is an expression, then `'{e}` represents the typed

0 commit comments

Comments
 (0)