From cb997737c9a0d5ffb011b34919eb33550f12d2c9 Mon Sep 17 00:00:00 2001 From: Vladimir Komendantskiy Date: Tue, 13 Nov 2018 10:08:57 +0000 Subject: [PATCH] allowed pass by value of binary_agreement argument --- tests/binary_agreement.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/binary_agreement.rs b/tests/binary_agreement.rs index 8ed0bae..f72b475 100644 --- a/tests/binary_agreement.rs +++ b/tests/binary_agreement.rs @@ -105,6 +105,7 @@ impl VirtualNet { /// Tests Binary Agreement on a given configuration with random inputs, with all `false` inputs and /// with all `true` inputs. +#[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] fn binary_agreement(cfg: TestConfig) { let mut rng: TestRng = TestRng::from_seed(cfg.seed); let size = cfg.dimension.size();