fix: Make clippy happy after new format! format
Took 19 minutes
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user