浏览代码

Make code compile

Mark Rousskov 5 年之前
父节点
当前提交
624265ce6a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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),
         Event::IssueComment(e) => format!("Comment on {}", e.issue.title),
     };
     };
 
 
-    let caps = parser::get_mentions(body)
+    let mut caps = parser::get_mentions(body)
         .into_iter()
         .into_iter()
         .collect::<HashSet<_>>();
         .collect::<HashSet<_>>();