Fix: Append semicolon to item macro invocations in serde2

Following changes in rustc.
This commit is contained in:
Thomas Bahn
2014-12-23 18:31:22 +01:00
parent 589a07d4c9
commit 7fa62b6212
+2 -2
View File
@@ -932,7 +932,7 @@ macro_rules! likely(
unsafe { expect(x as u8, 1) != 0 } unsafe { expect(x as u8, 1) != 0 }
} }
} }
) );
macro_rules! unlikely( macro_rules! unlikely(
($val:expr) => { ($val:expr) => {
@@ -945,7 +945,7 @@ macro_rules! unlikely(
unsafe { expect(x as u8, 0) != 0 } unsafe { expect(x as u8, 0) != 0 }
} }
} }
) );
struct MyMemWriter0 { struct MyMemWriter0 {
buf: Vec<u8>, buf: Vec<u8>,