]> Untitled Git - lemmy.git/blobdiff - lemmy_apub/src/inbox/receive_for_community.rs
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
[lemmy.git] / lemmy_apub / src / inbox / receive_for_community.rs
index 1ead7558fb87b6b256cb8d81424b66d52c5c76ec..31c5efba148df32cb3fc48baa678b25041d3c885 100644 (file)
@@ -347,7 +347,7 @@ async fn find_post_or_comment_by_id(
     return Ok(PostOrComment::Comment(c));
   }
 
-  return Err(NotFound.into());
+  Err(NotFound.into())
 }
 
 async fn fetch_post_or_comment_by_id(
@@ -363,7 +363,7 @@ async fn fetch_post_or_comment_by_id(
     return Ok(PostOrComment::Comment(comment));
   }
 
-  return Err(NotFound.into());
+  Err(NotFound.into())
 }
 
 fn get_like_object_id<Activity>(like_or_dislike: &Activity) -> Result<Url, LemmyError>