X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=src%2Fmain.rs;h=642a6e986371d7c09cc8c0e97f83a19b592ff4f8;hb=27e81f19ce38f8237d060d7832d211426819ac6f;hp=057d68bdc498c02c0649feeea162089484cdb132;hpb=ff529242d51b42e72232ec0873d805e891f35760;p=rtx3080.git diff --git a/src/main.rs b/src/main.rs index 057d68b..642a6e9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ type Result = std::result::Result>; #[derive(Debug, Deserialize, Serialize)] struct Config { smtp_login: String, - smtp_password: String + smtp_password: String, } impl Config { @@ -82,9 +82,9 @@ fn main() -> Result<()> { ).collect(); if match_items.is_empty() { - println!("No matches -_-´´"); + println!("No matches 😿"); } else if send_email(&match_items[..], &config.smtp_login, &config.smtp_password) { - println!("Some matches has been found! An e-mail has been sent!"); + println!("Some matches has been found 😺! An e-mail has been sent!"); return Ok(()) } else { println!("Unable to send e-mail");