Skip to content

Commit

Permalink
Remove two unnecessary into_iter (dalek-cryptography#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius authored Mar 18, 2023
1 parent 64b26ad commit 7dc1bbd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/validation_criteria.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@ fn get_test_vectors() -> impl Iterator<Item = TestVector> {
/// VERIFY_STRICT_ALLOWED_EDGECASES, respectively
#[test]
fn check_validation_criteria() {
let verify_allowed_edgecases = Set::from_iter(VERIFY_ALLOWED_EDGECASES.to_vec().into_iter());
let verify_strict_allowed_edgecases =
Set::from_iter(VERIFY_STRICT_ALLOWED_EDGECASES.to_vec().into_iter());
let verify_allowed_edgecases = Set::from_iter(VERIFY_ALLOWED_EDGECASES.to_vec());
let verify_strict_allowed_edgecases = Set::from_iter(VERIFY_STRICT_ALLOWED_EDGECASES.to_vec());

for TestVector {
number,
Expand Down

0 comments on commit 7dc1bbd

Please sign in to comment.