From: Ali Yousefi Sabzevar Date: Tue, 13 Sep 2022 07:39:19 +0000 (+0200) Subject: go/types, types2: improve readability of _InvalidUntypedConversion docs X-Git-Tag: go1.20rc1~1057 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a7e9a379e970f0c48aae47da1778213f646b5f45;p=gostls13.git 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 --- 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. //