From 84cb9f7f5c5a639955cd501bfdd54f0e63997e61 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Mon, 22 Apr 2024 02:07:37 +0000 Subject: oauth2: fix typo in comment Change-Id: Ifc12ed36671d21e388c537c510a82be084e9ec99 GitHub-Last-Rev: a4da759dd92626f746324862720b865308a5f09f GitHub-Pull-Request: golang/oauth2#720 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/580715 TryBot-Bypass: Cody Oss Reviewed-by: Cody Oss Reviewed-by: Joedian Reid --- oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2.go b/oauth2.go index 90a2c3d..09f6a49 100644 --- a/oauth2.go +++ b/oauth2.go @@ -393,7 +393,7 @@ func ReuseTokenSource(t *Token, src TokenSource) TokenSource { } } -// ReuseTokenSource returns a TokenSource that acts in the same manner as the +// ReuseTokenSourceWithExpiry returns a TokenSource that acts in the same manner as the // TokenSource returned by ReuseTokenSource, except the expiry buffer is // configurable. The expiration time of a token is calculated as // t.Expiry.Add(-earlyExpiry). -- cgit v1.2.3