Explorar el Código

Make code compile

Mark Rousskov hace 5 años
padre
commit
624265ce6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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<_>>();