Skip to content

Commit 8b93074

Browse files
committed
Update quote.Expr API in docs
1 parent 15f9e68 commit 8b93074

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/docs/reference/symmetric-meta-programming.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,8 @@ to `T` but only `~` is subject to the PCP, whereas `run` is just a normal method
400400

401401
abstract class Expr[T] {
402402
def unary_~: T
403-
def run: T // run staged code
403+
def run(implicit runner: Runner[T]): T // run staged code
404+
def show(implicit runner: Runner[T]): String // show staged code
404405
}
405406

406407
### Limitations to Splicing

0 commit comments

Comments
 (0)