Skip to content

Commit

Permalink
Merge pull request #112 from iczc/patch-1
Browse files Browse the repository at this point in the history
docs: fix incorrect macros name
  • Loading branch information
lightclient committed Dec 12, 2022
2 parents 7ebeaf2 + 80c86e7 commit 79d3ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/ch02-lang/ch04-macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79d3ad9

Please sign in to comment.