mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-24 04:35:02 +00:00
Fix item macro invocation in benches
Following changes in rustc.
This commit is contained in:
1 parent
3ea0c7e850
commit
aad0854beb
1 file changed
+2
-2
@@ -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