Skip to content

Commit 3bc5b07

Browse files
author
Samuel Walladge
committed
macro_rules -> macro_use
1 parent 898e478 commit 3bc5b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2018/macros/macro-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() {
4242

4343
This moves `macro_rules` macros to be a bit closer to other kinds of items.
4444

45-
Note that you'll still need `#[macro_rules]` to use macros you've defined
45+
Note that you'll still need `#[macro_use]` to use macros you've defined
4646
in your own crate; this feature only works for importing macros from
4747
external crates.
4848

0 commit comments

Comments
 (0)