We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19840ae commit 548a473Copy full SHA for 548a473
src/traits.rs
@@ -550,7 +550,7 @@ pub trait Monty:
550
type Integer: Integer<Monty = Self>;
551
552
/// The precomputed data needed for this representation.
553
- type Params: Clone;
+ type Params: 'static + Clone + Debug + Eq + Sized + Send + Sync;
554
555
/// Create the precomputed data for Montgomery representation of integers modulo `modulus`.
556
fn new_params(modulus: Odd<Self::Integer>) -> Self::Params;
0 commit comments