allowed pass by value of binary_agreement argument

This commit is contained in:
Vladimir Komendantskiy 2018-11-13 10:08:57 +00:00
parent 6bce56e7a8
commit cb997737c9
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ impl VirtualNet<Algo> {
/// 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();