Skip to content

Commit

Permalink
clippy2: init nist keygen, siggen, sigver
Browse files Browse the repository at this point in the history
  • Loading branch information
eschorn1 committed Sep 21, 2024
1 parent 779a4c8 commit 070920e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/nist_vectors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ fn test_siggen() {
.expect("Unable to read file");
let v: Value = serde_json::from_str(&vectors).unwrap();

#[allow(clippy::unnecessary_unwrap)]
for test_group in v["testGroups"].as_array().unwrap().iter() {
for test in test_group["tests"].as_array().unwrap().iter() {
let sk_bytes = decode(test["sk"].as_str().unwrap()).unwrap();
Expand Down

0 comments on commit 070920e

Please sign in to comment.