Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoniosBarotsis committed Feb 25, 2025
1 parent c8f6c22 commit 0331601
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/cf-worker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ async fn fetch(
let to = ["[email protected]"];
let subject = "hello world";
let html = "<p>it works!</p>";

let email = CreateEmailBaseOptions::new(from, to, subject)
.with_html(html);


let email = CreateEmailBaseOptions::new(from, to, subject).with_html(html);

let _email = resend.emails.send(email).await.unwrap();

// let _clock = MonotonicClock::default();
// let tmp = std::time::Instant::now();

Ok(router().call(req).await?)
}

Expand Down

0 comments on commit 0331601

Please sign in to comment.