Skip to content

Commit 649be23

Browse files
committed
updated import clause
1 parent b6f0aff commit 649be23

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/docs/reference/metaprogramming/macros-spec.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ For instance, here is a version of `power` that generates the multiplications
172172
directly if the exponent is statically known and falls back to the dynamic
173173
implementation of `power` otherwise.
174174
```scala
175-
import scala.quoted.Expr
176-
import scala.quoted.Quotes
175+
import scala.quoted._
177176

178177
inline def power(x: Double, n: Int): Double =
179178
${ powerExpr('x, 'n) }

0 commit comments

Comments
 (0)