From fe6fd59747987aadddbcc6c995f955577639ded9 Mon Sep 17 00:00:00 2001 From: JamBalaya56562 Date: Tue, 20 Oct 2026 20:17:10 +0900 Subject: [PATCH] docs: Fix phrasing and punctuation in doc comments --- github/github.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/github/github.go b/github/github.go index 83d38e69bdf..a5d90e225da 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 @@ -205,10 +205,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.