Skip to content

Commit ae7e822

Browse files
oli-obkllogiq
andauthored
Update text/0000-proc-macro-attribute-recursion.md
Fix typo Co-Authored-By: llogiq <[email protected]>
1 parent 91ac6d3 commit ae7e822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-proc-macro-attribute-recursion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn this_is_fun(x: u64) -> u64 {
4545
}
4646
```
4747

48-
Because of the `#[flame]` attribtue, this is fed back to flamer, which modifies the function resulting from the macro. Note that the attribute needs not be placed at the same AST node (and in fact, flamer would place it only on macro invocation nodes).
48+
Because of the `#[flame]` attribute, this is fed back to flamer, which modifies the function resulting from the macro. Note that the attribute does not need to be placed at the same AST node (and in fact, flamer would place it only on macro invocation nodes).
4949

5050
`proc_macro` writers can implement their macros in terms of `proc_macro_attributes` (which is a very roundabout way to deal with macros, but at least it would work at all) to gain the same benefits.
5151

0 commit comments

Comments
 (0)