Skip to content

Commit

Permalink
run cargo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
quackzar committed Aug 20, 2024
1 parent b0ff229 commit 564d05b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/protocols/beaver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ pub async fn beaver_multiply_vector<
x: S::VectorShare,

Check failure on line 147 in src/protocols/beaver.rs

View workflow job for this annotation

GitHub Actions / cargo test

unused variable: `x`
y: S::VectorShare,

Check failure on line 148 in src/protocols/beaver.rs

View workflow job for this annotation

GitHub Actions / cargo test

unused variable: `y`
triples: &[BeaverTriple<S>],

Check failure on line 149 in src/protocols/beaver.rs

View workflow job for this annotation

GitHub Actions / cargo test

unused variable: `triples`
mut coms: impl Communicate,
coms: impl Communicate,

Check failure on line 150 in src/protocols/beaver.rs

View workflow job for this annotation

GitHub Actions / cargo test

unused variable: `coms`
) {
//
}
Expand Down
5 changes: 2 additions & 3 deletions src/testing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ pub mod mock;
pub mod tapping;

use crate::{
algebra::{element::Element32, field::Field},
net::{agency::Broadcast, connection::DuplexConnection, network::InMemoryNetwork},
algebra::element::Element32,
net::{agency::Broadcast, network::InMemoryNetwork},
protocols::beaver,
schemes::interactive::InteractiveShared,
vm::{Engine, Script},
};
use rand::rngs::mock::StepRng;
Expand Down
5 changes: 1 addition & 4 deletions src/vm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ use crate::{
algebra::math::Vector,
net::{network::Network, Id, SplitChannel},
protocols::beaver::{beaver_multiply, BeaverTriple},
schemes::{
interactive::{InteractiveShared, InteractiveSharedMany},
shamir,
},
schemes::interactive::{InteractiveShared, InteractiveSharedMany},
};

#[derive(Debug, Clone)]
Expand Down

0 comments on commit 564d05b

Please sign in to comment.