Skip to content

Commit

Permalink
Touch up macro formatting of ast_enum
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 31, 2023
1 parent 98fffd8 commit 5bcd86c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ macro_rules! ast_enum {
(
[$($attrs_pub:tt)*]
enum $name:ident $($rest:tt)*
) => (
) => {
$($attrs_pub)* enum $name $($rest)*
);
};

($($t:tt)*) => {
strip_attrs_pub!(ast_enum!($($t)*));
Expand Down

0 comments on commit 5bcd86c

Please sign in to comment.