From 885223473e9375d7c3b2e5d13e2cadf58673844d Mon Sep 17 00:00:00 2001 From: jmagnuson Date: Sun, 23 Oct 2016 12:42:38 -0500 Subject: [PATCH] Fix benchmark macro `bench_binop` --- benches/common/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/common/macros.rs b/benches/common/macros.rs index e30384a5..edaee213 100644 --- a/benches/common/macros.rs +++ b/benches/common/macros.rs @@ -16,7 +16,7 @@ macro_rules! bench_binop( i = (i + 1) & (LEN - 1); unsafe { - test::black_box(elems1.get_unchecked(i).$binop(*elems2.get_unchecked(i))) + test::black_box((*elems1.get_unchecked(i)).$binop(*elems2.get_unchecked(i))) } }) }