Remove 1 of 2 Unwraps
This commit is contained in:
@@ -34,7 +34,7 @@ fn main() -> Result<(), Error> {
|
||||
match result {
|
||||
Ok(party) => {
|
||||
print!("Thanking: {}... ", party.name);
|
||||
std::io::stdout().flush().unwrap();
|
||||
std::io::stdout().flush()?;
|
||||
match mailer.send_email(&party) {
|
||||
Ok(()) => println!("[DONE]"),
|
||||
Err(_) => {
|
||||
|
||||
Reference in New Issue
Block a user