]> Untitled Git - lemmy.git/blobdiff - lemmy_structs/src/lib.rs
Merge branch 'main' into move_views_to_diesel
[lemmy.git] / lemmy_structs / src / lib.rs
index 3a2e28d94ce0b175a08f5f60741e5e94b5796eed..dc06a40cd1c05415353bf5b08b203998df6c8829 100644 (file)
@@ -100,10 +100,7 @@ fn do_send_local_notifs(
 
       // Allow this to fail softly, since comment edits might re-update or replace it
       // Let the uniqueness handle this fail
-      match UserMention::create(&conn, &user_mention_form) {
-        Ok(_mention) => (),
-        Err(_e) => error!("{}", &_e),
-      };
+      let _ = UserMention::create(&conn, &user_mention_form);
 
       // Send an email to those users that have notifications on
       if do_send_email && mention_user.send_notifications_to_email {