Skip to content

Commit

Permalink
Fix new clippy warning.
Browse files Browse the repository at this point in the history
Apparently rust 1.78 has some new warnings.
  • Loading branch information
brotskydotcom committed May 2, 2024
1 parent 24ff2ac commit 8307694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keyutils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ impl KeyutilsCredential {

// Construct the credential with a URI-style description
let description = match target {
Some(value) if value.is_empty() => {
Some("") => {
return Err(ErrorCode::Invalid(
"target".to_string(),
"cannot be empty".to_string(),
Expand Down

0 comments on commit 8307694

Please sign in to comment.