From 80c86e7480ec9270c08467f3fa2d53c89fd70b25 Mon Sep 17 00:00:00 2001 From: iczc Date: Sun, 11 Dec 2022 15:25:15 +0800 Subject: [PATCH] docs: fix incorrect macros name --- doc/src/ch02-lang/ch04-macros/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/ch02-lang/ch04-macros/README.md b/doc/src/ch02-lang/ch04-macros/README.md index 8a1cc041..4e19be8f 100644 --- a/doc/src/ch02-lang/ch04-macros/README.md +++ b/doc/src/ch02-lang/ch04-macros/README.md @@ -25,7 +25,7 @@ An instruction macro looks like this: # assert_eq!(output, &[0x60, 0x06]); ``` -Instruction macros always begin with `%`, and expand to one or more instructions. In this case, `%my_macro(4, 2)` would expand to: +Instruction macros always begin with `%`, and expand to one or more instructions. In this case, `%push_sum(4, 2)` would expand to: ```ignore push1 0x06