]> Cypherpunks repositories - gostls13.git/commitdiff
go/types, types2: improve readability of _InvalidUntypedConversion docs
authorAli Yousefi Sabzevar <aysabzevar@gmail.com>
Tue, 13 Sep 2022 07:39:19 +0000 (09:39 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 14 Sep 2022 15:19:55 +0000 (15:19 +0000)
Remove an unnecessary 'an' from errorcodes.go.

Change-Id: Iabe8ce479077cbfff936d57c788a9b39d7e5b34e
Reviewed-on: https://go-review.googlesource.com/c/go/+/430495
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>

src/cmd/compile/internal/types2/errorcodes.go
src/go/types/errorcodes.go

index a1138b7b0d5058e4c69f25d7ad8df9b48a9f7445..6b3e6d6f249f4e421e052e3267f528d45475d069 100644 (file)
@@ -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.
        //
index b82300f8ad9b19853c301c30ee891edf8772ed62..3c224a1366a5e54962ded64a7c33f787d4e62b28 100644 (file)
@@ -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.
        //