Pārlūkot izejas kodu

Make code compile

Mark Rousskov 5 gadi atpakaļ
vecāks
revīzija
624265ce6a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/handlers/notification.rs

+ 1 - 1
src/handlers/notification.rs

@@ -86,7 +86,7 @@ pub async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> {
         Event::IssueComment(e) => format!("Comment on {}", e.issue.title),
     };
 
-    let caps = parser::get_mentions(body)
+    let mut caps = parser::get_mentions(body)
         .into_iter()
         .collect::<HashSet<_>>();