Explorar el Código

Add comment on how `IssueComment` gets unified.

Eric Huss hace 2 años
padre
commit
7e85b631fc
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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),