We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 475ca93 commit 1aef16fCopy full SHA for 1aef16f
1 file changed
tests/readcsr.rs
@@ -74,7 +74,7 @@ fn read_csr_with_challenge_password() {
74
75
// 1. Check: Parse value
76
let (rem, challenge_password_from_value) =
77
- Set::from_der_and_then(challenge_password_attr.value, |i| String::from_der(i))
+ Set::from_der_and_then(challenge_password_attr.value, String::from_der)
78
.expect("Error parsing challenge password attribute");
79
assert_eq!(challenge_password_from_value, "A challenge password");
80
assert!(rem.is_empty());
0 commit comments