From 4b366a143dcc45ff031a261f7b21c6115f51be36 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Mon, 20 Nov 2017 23:20:11 -0700 Subject: [PATCH] Ensure `Engine`'s are always Clone. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f58df58..c695f3a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,7 +34,7 @@ use std::io::{self, Read, Write}; /// An "engine" is a collection of types (fields, elliptic curve groups, etc.) /// with well-defined relationships. In particular, the G1/G2 curve groups are /// of prime order `r`, and are equipped with a bilinear pairing function. -pub trait Engine: Sized + 'static +pub trait Engine: Sized + 'static + Clone { /// This is the scalar field of the G1/G2 groups. type Fr: PrimeField;