From: Felix Ableitner Date: Wed, 14 Jun 2023 09:34:29 +0000 (+0200) Subject: Fix compilation X-Git-Url: http://these/git/%7BsortingHelpUrl%7D?a=commitdiff_plain;h=f3f95e5d2f2064be4c4c4997309fbb23ff8cbf85;p=lemmy.git Fix compilation --- diff --git a/crates/routes/src/feeds.rs b/crates/routes/src/feeds.rs index cebf510c..3b4c2cd7 100644 --- a/crates/routes/src/feeds.rs +++ b/crates/routes/src/feeds.rs @@ -415,10 +415,7 @@ fn create_reply_and_mention_items( let mut mention_items: Vec = mentions .iter() .map(|m| { - let mention_url = format!( - "/comment/{}", - protocol_and_hostname, m.post.id, m.comment.id - ); + let mention_url = format!("{}/comment/{}", protocol_and_hostname, m.comment.id); build_item( &m.creator.name, &m.comment.published,