use of emojis...
authorGrégory Burri <gregory.burri@matisa.ch>
Wed, 9 Sep 2020 11:48:52 +0000 (13:48 +0200)
committerGrégory Burri <gregory.burri@matisa.ch>
Wed, 9 Sep 2020 11:48:52 +0000 (13:48 +0200)
src/main.rs

index 057d68b..642a6e9 100644 (file)
@@ -23,7 +23,7 @@ type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;
 #[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");