From f3f95e5d2f2064be4c4c4997309fbb23ff8cbf85 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 14 Jun 2023 11:34:29 +0200 Subject: [PATCH] Fix compilation --- crates/routes/src/feeds.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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, -- 2.44.1