Remove unecessary &

mark_unread_post_id_opt
Dessalines 2023-10-17 14:50:04 -04:00
parent 05722f9b79
commit 0af53bd888
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ pub async fn mark_post_as_read(
) -> Result<Json<SuccessResponse>, LemmyError> {
let mut post_ids = HashSet::new();
if let Some(post_ids_) = &data.post_ids {
post_ids.extend(&post_ids_.iter().cloned().collect::<HashSet<_>>());
post_ids.extend(post_ids_.iter().cloned().collect::<HashSet<_>>());
}
if let Some(post_id) = data.post_id {