diff --git a/_overviews/scala3-macros/tutorial/quotes.md b/_overviews/scala3-macros/tutorial/quotes.md index 109e509e59..54ea43d438 100644 --- a/_overviews/scala3-macros/tutorial/quotes.md +++ b/_overviews/scala3-macros/tutorial/quotes.md @@ -154,7 +154,7 @@ given ToExpr[Boolean] with { } given ToExpr[StringContext] with { - def apply(x: StringContext)(using Quotes) = + def apply(stringContext: StringContext)(using Quotes) = val parts = Varargs(stringContext.parts.map(Expr(_))) '{ StringContext($parts: _*) } }