From b994bc0542d26d94f73ab554741c6e017d1702cb Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 26 Mar 2019 14:02:41 -0400 Subject: [PATCH] rustfmt: fix some TODO items rustfmt points out --- src/webhooks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webhooks.rs b/src/webhooks.rs index a63d4cd3..273dd30c 100644 --- a/src/webhooks.rs +++ b/src/webhooks.rs @@ -517,7 +517,7 @@ pub struct DiffHookAttrs { #[cfg_attr(feature = "strict", serde(deny_unknown_fields))] #[derive(Serialize, Deserialize, Debug, Clone)] -// FIXME: This can apparently be a string sometimes. +// FIXME(gitlab#21467): This can apparently be a string sometimes. // https://gitlab.com/gitlab-org/gitlab-ce/issues/21467 pub struct PositionHookAttrs { pub base_sha: ObjectId, @@ -561,7 +561,7 @@ pub struct NoteHookAttrs { pub project_id: ProjectId, /// The URL of an attachment to the note. pub attachment: Option, - pub line_code: Option, // TODO: This is some internal format. + pub line_code: Option, // XXX: This is some internal format. pub commit_id: Option, // XXX(8.11): apparently can be an empty string? pub discussion_id: ObjectId, pub original_discussion_id: Option, -- GitLab