From 5c40273b9da6703e27b76ae04ecf1062ff3f5d3f Mon Sep 17 00:00:00 2001 From: aoright <102943475+aoright@users.noreply.github.com> Date: Thu, 20 Aug 2026 15:20:50 +0800 Subject: [PATCH] docs: fix phrasing and punctuation in doc comments Signed-off-by: aoright <102943475+aoright@users.noreply.github.com> --- github/github.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/github/github.go b/github/github.go index 0bf88591777..f1ca868ca25 100644 --- a/github/github.go +++ b/github/github.go @@ -69,7 +69,7 @@ const ( // After some time, specific media types will be promoted (to a "stable" state). // From then on, the preview headers are not required anymore to activate the additional // feature on GitHub.com's API. However, this API header might still be needed for users - // to run a GitHub Enterprise Server on-premise. + // to run a GitHub Enterprise Server on-premises. // It's not uncommon for GitHub Enterprise Server customers to run older versions which // would probably rely on the preview headers for some time. // While the header promotion is going out for GitHub.com, it may be some time before it @@ -196,10 +196,10 @@ type Client struct { secondaryRateLimitReset time.Time // Secondary rate limit reset for the client as determined by the most recent API calls. // If specified, Client will block requests for at most this duration in case of reaching a secondary - // rate limit + // rate limit. maxSecondaryRateLimitRetryAfterDuration time.Duration - // Whether to respect rate limit headers on endpoints that return 302 redirections to artifacts + // Whether to respect rate limit headers on endpoints that return 302 redirections to artifacts. rateLimitRedirectionalEndpoints bool common service // Reuse a single struct instead of allocating one for each service on the heap.