Skip to content

Commit

Permalink
clippy made me do it
Browse files Browse the repository at this point in the history
  • Loading branch information
iganev committed Mar 6, 2024
1 parent 8cad7e2 commit e8f1961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub async fn verify(
return Ok(());
} else if let Some(errs) = result.error_codes {
return Err(errs
.get(0)
.first()
.ok_or(RecaptchaError::Unknown(None))?
.to_string()
.try_into()?);
Expand Down

0 comments on commit e8f1961

Please sign in to comment.