Skip to content

Commit

Permalink
Fix clippy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Oct 21, 2024
1 parent e5c2adf commit f93dcab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/relayer/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl ChainClient {
/// A `Result` containing the ECDSA Owned DKIM Registry if successful, or an error if not.
pub async fn get_dkim_from_email_auth(
&self,
email_auth_addr: &String,
email_auth_addr: &str,
) -> Result<UserOverridableDKIMRegistry<SignerM>, anyhow::Error> {
let email_auth_address: H160 = email_auth_addr.parse()?;

Expand Down
4 changes: 2 additions & 2 deletions packages/relayer/src/modules/mail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub async fn handle_email_event(event: EmailAuthEvent) -> Result<(), EmailError>
account_eth_addr, command, account_code, request_id
);

let subject = format!("ZK Email Recovery: Acceptance Request");
let subject = "ZK Email Recovery: Acceptance Request".to_string();

// Prepare data for HTML rendering
let render_data = serde_json::json!({
Expand Down Expand Up @@ -217,7 +217,7 @@ pub async fn handle_email_event(event: EmailAuthEvent) -> Result<(), EmailError>
account_eth_addr, request_id
);

let subject = format!("ZK Email Recovery: Recovery Request");
let subject = "ZK Email Recovery: Recovery Request".to_string();

// Prepare data for HTML rendering
let render_data = serde_json::json!({
Expand Down

0 comments on commit f93dcab

Please sign in to comment.