Skip to content

Commit

Permalink
go/types, types2: improve readability of _InvalidUntypedConversion docs
Browse files Browse the repository at this point in the history
Remove an unnecessary 'an' from errorcodes.go.

Change-Id: Iabe8ce479077cbfff936d57c788a9b39d7e5b34e
Reviewed-on: https://go-review.googlesource.com/c/go/+/430495
Reviewed-by: Robert Findley <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Run-TryBot: Ian Lance Taylor <[email protected]>
  • Loading branch information
iamaliyousefi authored and gopherbot committed Sep 14, 2022
1 parent 9503bca commit a7e9a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/types2/errorcodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
2 changes: 1 addition & 1 deletion src/go/types/errorcodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down

0 comments on commit a7e9a37

Please sign in to comment.