Pārlūkot izejas kodu

Add comment on how `IssueComment` gets unified.

Eric Huss 2 gadi atpakaļ
vecāks
revīzija
7e85b631fc
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      src/github.rs

+ 3 - 0
src/github.rs

@@ -1256,6 +1256,9 @@ pub enum Event {
     /// - Regular comment on an issue or PR.
     /// - A PR review.
     /// - A comment on a PR review.
+    ///
+    /// These different scenarios are unified into the `IssueComment` variant
+    /// when triagebot receives the corresponding webhook event.
     IssueComment(IssueCommentEvent),
     /// Activity on an issue or PR.
     Issue(IssuesEvent),