From: Vasili Revelas Date: Wed, 15 Mar 2023 11:22:04 +0000 (+0000) Subject: errors: correct spelling X-Git-Tag: go1.21rc1~1255 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=006b35c017f7896d2d4880566d991b2aceacb98c;p=gostls13.git errors: correct spelling Change-Id: Iba64f3d88b541c7fef15046720bfaba361291d94 GitHub-Last-Rev: 22cfd6382c42abfa7e1952cccf6e0ecb5990fdbf GitHub-Pull-Request: golang/go#59047 Reviewed-on: https://go-review.googlesource.com/c/go/+/476395 Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills --- diff --git a/src/internal/types/errors/codes.go b/src/internal/types/errors/codes.go index aafc329e72..db7a4252c1 100644 --- a/src/internal/types/errors/codes.go +++ b/src/internal/types/errors/codes.go @@ -1330,10 +1330,10 @@ const ( NotAGenericType // 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. // - // Errors inolving failed type inference are assigned other error codes. + // Errors involving failed type inference are assigned other error codes. // // Example: // type T[p any] int