fix: Make clippy happy after new format! format

Took 19 minutes
This commit is contained in:
Diana Carvalho
2025-04-24 13:34:08 +01:00
parent fa872f5f0e
commit 7bf0b48ea6
10 changed files with 776 additions and 540 deletions

View File

@@ -116,8 +116,7 @@ impl Permit2 {
Ok(allowance)
}
Err(err) => Err(EncodingError::RecoverableError(format!(
"Call to permit2 allowance method failed with error: {:?}",
err
"Call to permit2 allowance method failed with error: {err}"
))),
}
}
@@ -158,8 +157,7 @@ impl Permit2 {
.sign_hash_sync(&hash)
.map_err(|e| {
EncodingError::FatalError(format!(
"Failed to sign permit2 approval with error: {}",
e
"Failed to sign permit2 approval with error: {e}"
))
})?;
Ok((permit_single, signature))