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.
LinearCombinationExt
?Sized
1 parent 37507fd commit 723a1a3Copy full SHA for 723a1a3
elliptic-curve/src/ops.rs
@@ -167,7 +167,7 @@ pub trait LinearCombination: Group {
167
// TODO(tarcieri): replace the current `LinearCombination` with this in the next release
168
pub trait LinearCombinationExt<PointsAndScalars>: group::Curve
169
where
170
- PointsAndScalars: AsRef<[(Self, Self::Scalar)]>,
+ PointsAndScalars: AsRef<[(Self, Self::Scalar)]> + ?Sized,
171
{
172
/// Calculates `x1 * k1 + ... + xn * kn`.
173
fn lincomb_ext(points_and_scalars: &PointsAndScalars) -> Self {
0 commit comments