Skip to content

Commit

Permalink
allowed pass by value of binary_agreement argument
Browse files Browse the repository at this point in the history
  • Loading branch information
vkomenda committed Nov 13, 2018
1 parent a021827 commit 81bfdbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/binary_agreement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 81bfdbe

Please sign in to comment.