Remove 1 of 2 Unwraps

This commit is contained in:
2022-11-06 21:39:31 -04:00
parent f17132627a
commit 9031c61cfb

View File

@@ -34,7 +34,7 @@ fn main() -> Result<(), Error> {
match result { match result {
Ok(party) => { Ok(party) => {
print!("Thanking: {}... ", party.name); print!("Thanking: {}... ", party.name);
std::io::stdout().flush().unwrap(); std::io::stdout().flush()?;
match mailer.send_email(&party) { match mailer.send_email(&party) {
Ok(()) => println!("[DONE]"), Ok(()) => println!("[DONE]"),
Err(_) => { Err(_) => {