Fix various clippy lints

This commit is contained in:
Jack Grigg
2021-08-20 16:22:22 +01:00
parent 2c90195f99
commit f5f140d172
5 changed files with 11 additions and 12 deletions
+2 -3
View File
@@ -358,9 +358,8 @@ impl Connection {
None => {
return Ok(Err(identity::Error::Identity {
index: self.identity_index,
message: format!(
"Certificate for YubiKey identity contains an invalid PIN policy"
),
message: "Certificate for YubiKey identity contains an invalid PIN policy"
.to_string(),
}))
}
}