Fix Clippy (#289)

This commit is contained in:
daxpedda
2022-12-10 14:21:56 -08:00
committed by GitHub
parent 556f6c2bd4
commit d2bdcb391e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ static TEST_VECTOR_X25519_P256: &str = r#"
"#;
fn decode(values: &Value, key: &str) -> Option<Vec<u8>> {
values[key].as_str().and_then(|s| hex::decode(&s).ok())
values[key].as_str().and_then(|s| hex::decode(s).ok())
}
fn populate_test_vectors(values: &Value) -> TestVectorParameters {