From aad0854beb648846f443718aa213095dea83756c Mon Sep 17 00:00:00 2001 From: Thomas Bahn Date: Fri, 19 Dec 2014 15:43:54 +0100 Subject: [PATCH] Fix item macro invocation in benches Following changes in rustc. --- benches/bench_log.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/bench_log.rs b/benches/bench_log.rs index 709c9554..7fd3aadc 100644 --- a/benches/bench_log.rs +++ b/benches/bench_log.rs @@ -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,