Skip to content

Commit 20e5b29

Browse files
author
Thomas Bahn
committed
Fix: Append semicolon to item marco invocations
Following changes in rustc.
1 parent 02f6715 commit 20e5b29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,11 @@ mod tests {
298298
macro_rules! v2ascii (
299299
( [$($e:expr),*]) => (&[$(Ascii{chr:$e}),*]);
300300
(&[$($e:expr),*]) => (&[$(Ascii{chr:$e}),*]);
301-
)
301+
);
302302

303303
macro_rules! vec2ascii (
304304
($($e:expr),*) => ([$(Ascii{chr:$e}),*].to_vec());
305-
)
305+
);
306306

307307
#[test]
308308
fn test_ascii() {

0 commit comments

Comments
 (0)