Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmariush committed Jun 19, 2023
1 parent ebcc8e7 commit 9e6443a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/smtp/yahoo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ pub async fn check_yahoo(
}
};


let to_email = to_email.to_string();
log::debug!(
target: LOG_TARGET,
Expand Down Expand Up @@ -172,7 +171,9 @@ pub async fn check_yahoo(
}
};

let re = Regex::new(r#"<input type="hidden" value="(?P<sessionIndex>.*)" name="sessionIndex">"#).expect("Correct regex. qed");
let re =
Regex::new(r#"<input type="hidden" value="(?P<sessionIndex>.*)" name="sessionIndex">"#)
.expect("Correct regex. qed");
let session_index = match re.captures(&body) {
Some(y) => y,
_ => {
Expand Down

0 comments on commit 9e6443a

Please sign in to comment.