]> Cypherpunks.ru repositories - gostls13.git/commitdiff
errors: correct spelling
authorVasili Revelas <vasileios.revelas@sgdigital.com>
Wed, 15 Mar 2023 11:22:04 +0000 (11:22 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 16 Mar 2023 16:00:48 +0000 (16:00 +0000)
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 <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>
src/internal/types/errors/codes.go

index aafc329e728bc15bfeb1b7fa8bf7e4547b7ffffe..db7a4252c123d64346544813dd839985dd8cd7be 100644 (file)
@@ -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