mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-11 19:41:04 +00:00
Fix: Append semicolon to item macro invocations in serde2
Following changes in rustc.
This commit is contained in:
@@ -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>,
|
||||||
|
|||||||
Reference in New Issue
Block a user