From a7e9a379e970f0c48aae47da1778213f646b5f45 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Sabzevar Date: Tue, 13 Sep 2022 09:39:19 +0200 Subject: [PATCH] go/types, types2: improve readability of _InvalidUntypedConversion docs Remove an unnecessary 'an' from errorcodes.go. Change-Id: Iabe8ce479077cbfff936d57c788a9b39d7e5b34e Reviewed-on: https://go-review.googlesource.com/c/go/+/430495 Reviewed-by: Robert Findley TryBot-Result: Gopher Robot Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor --- src/cmd/compile/internal/types2/errorcodes.go | 2 +- src/go/types/errorcodes.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/compile/internal/types2/errorcodes.go b/src/cmd/compile/internal/types2/errorcodes.go index a1138b7b0d..6b3e6d6f24 100644 --- a/src/cmd/compile/internal/types2/errorcodes.go +++ b/src/cmd/compile/internal/types2/errorcodes.go @@ -867,7 +867,7 @@ const ( // var _ = string(x) _InvalidConversion - // _InvalidUntypedConversion occurs when an there is no valid implicit + // _InvalidUntypedConversion occurs when there is no valid implicit // conversion from an untyped value satisfying the type constraints of the // context in which it is used. // diff --git a/src/go/types/errorcodes.go b/src/go/types/errorcodes.go index b82300f8ad..3c224a1366 100644 --- a/src/go/types/errorcodes.go +++ b/src/go/types/errorcodes.go @@ -867,7 +867,7 @@ const ( // var _ = string(x) _InvalidConversion - // _InvalidUntypedConversion occurs when an there is no valid implicit + // _InvalidUntypedConversion occurs when there is no valid implicit // conversion from an untyped value satisfying the type constraints of the // context in which it is used. // -- 2.50.0