Skip to content

Commit

Permalink
blindly add ToOwned to pass no_std check
Browse files Browse the repository at this point in the history
  • Loading branch information
TakodaS committed Sep 5, 2023
1 parent 750e5e0 commit c3095f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/prover.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use ark_std::{borrow::ToOwned, rand::Rng};
use core::ops::Mul;

use ark_std::rand::Rng;
#[cfg(feature = "parallel")]
use rayon::prelude::*;

Expand Down
2 changes: 1 addition & 1 deletion src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use ark_ec::{
AffineRepr, CurveGroup,
};
use ark_relations::r1cs::{Result as R1CSResult, SynthesisError};
use ark_std::Zero;
use ark_std::{borrow::ToOwned, Zero};
use core::ops::{AddAssign, Mul};

use super::{PreparedVerifyingKey, Proof, VerifyingKey};
Expand Down

0 comments on commit c3095f3

Please sign in to comment.