1
0
mirror of https://github.com/golang/go synced 2024-11-26 15:06:52 -07:00

errors: correct spelling

Change-Id: Iba64f3d88b541c7fef15046720bfaba361291d94
GitHub-Last-Rev: 22cfd6382c
GitHub-Pull-Request: golang/go#59047
Reviewed-on: https://go-review.googlesource.com/c/go/+/476395
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
Vasili Revelas 2023-03-15 11:22:04 +00:00 committed by Gopher Robot
parent c69ff3a7d0
commit 006b35c017

View File

@ -1330,10 +1330,10 @@ const (
NotAGenericType NotAGenericType
// WrongTypeArgCount occurs when a type or function is instantiated with an // WrongTypeArgCount occurs when a type or function is instantiated with an
// incorrent number of type arguments, including when a generic type or // incorrect number of type arguments, including when a generic type or
// function is used without instantiation. // function is used without instantiation.
// //
// Errors inolving failed type inference are assigned other error codes. // Errors involving failed type inference are assigned other error codes.
// //
// Example: // Example:
// type T[p any] int // type T[p any] int