Skip to content

Commit

Permalink
Remove Sized for RngCore
Browse files Browse the repository at this point in the history
Co-authored-by: Weiliang Li <[email protected]>
  • Loading branch information
2 people authored and str4d committed Apr 30, 2020
1 parent 2d8033e commit d8a3a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/groth16/tests/dummy_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ impl CurveProjective for Fr {
type Scalar = Fr;
type Engine = DummyEngine;

fn random<R: RngCore>(rng: &mut R) -> Self {
fn random<R: RngCore + ?std::marker::Sized>(rng: &mut R) -> Self {
<Fr as Field>::random(rng)
}

Expand Down

0 comments on commit d8a3a0d

Please sign in to comment.