make clippy happier
This commit is contained in:
+3
-4
@@ -221,10 +221,9 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_small_subgroup_edwards() {
|
fn test_small_subgroup_edwards() {
|
||||||
for i in 0..8 {
|
for pt in &EIGHT_TORSION[..] {
|
||||||
let pt = &EIGHT_TORSION[i][..];
|
assert!(deserialize_point(&pt[..]).is_ok());
|
||||||
assert!(deserialize_point(&pt).is_ok());
|
assert!(EdwardsPoint::from_element_slice(GenericArray::from_slice(&pt[..])).is_err());
|
||||||
assert!(EdwardsPoint::from_element_slice(GenericArray::from_slice(&pt)).is_err());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user