diff --git a/docs/docs/reference/metaprogramming/macros.md b/docs/docs/reference/metaprogramming/macros.md index 5b77a3e5a9d0..12fc773c6275 100644 --- a/docs/docs/reference/metaprogramming/macros.md +++ b/docs/docs/reference/metaprogramming/macros.md @@ -414,7 +414,7 @@ Inlining the `assert` function would give the following program: ```scala @main def program = val x = 1 - ${ Macros.assertImpl('{ x != 0) } } + ${ Macros.assertImpl('{ x != 0}) } ``` The example is only phase correct because `Macros` is a global value and