]> Untitled Git - lemmy.git/blobdiff - lemmy_apub/src/objects/comment.rs
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
[lemmy.git] / lemmy_apub / src / objects / comment.rs
index d3341630aee5e3b21d3408b7b7803631e7b3f6ff..e922724856be9b768e1c5ccf2d8a6b8d83fda88a 100644 (file)
@@ -115,7 +115,7 @@ impl FromApub for Comment {
         Comment::delete(conn, comment.id)
       })
       .await??;
-      return Err(anyhow!("Post is locked").into());
+      Err(anyhow!("Post is locked").into())
     } else {
       Ok(comment)
     }