Skip to content

Commit 6e7cf87

Browse files
committed
Remove spurious semicolons at the end of macro_rules! definitions.
1 parent 5245ace commit 6e7cf87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial-macros.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ macro_rules! early_return(
4343
_ => {}
4444
}
4545
);
46-
);
46+
)
4747
// ...
4848
early_return!(input_1 special_a);
4949
// ...
@@ -160,7 +160,7 @@ macro_rules! early_return(
160160
_ => {}
161161
}
162162
);
163-
);
163+
)
164164
// ...
165165
early_return!(input_1, [special_a|special_c|special_d]);
166166
// ...

0 commit comments

Comments
 (0)