From 006b35c017f7896d2d4880566d991b2aceacb98c Mon Sep 17 00:00:00 2001 From: Vasili Revelas Date: Wed, 15 Mar 2023 11:22:04 +0000 Subject: [PATCH] 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 --- src/internal/types/errors/codes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.0