mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-27 05:17:56 +00:00
Fix item macro invocation in benches
Following changes in rustc.
This commit is contained in:
@@ -589,7 +589,7 @@ macro_rules! likely(
|
||||
unsafe { expect(x as u8, 1) != 0 }
|
||||
}
|
||||
}
|
||||
)
|
||||
);
|
||||
|
||||
macro_rules! unlikely(
|
||||
($val:expr) => {
|
||||
@@ -602,7 +602,7 @@ macro_rules! unlikely(
|
||||
unsafe { expect(x as u8, 0) != 0 }
|
||||
}
|
||||
}
|
||||
)
|
||||
);
|
||||
|
||||
struct MyMemWriter0 {
|
||||
buf: Vec<u8>,
|
||||
|
||||
Reference in New Issue
Block a user