Explorar o código

Update typeutil.go

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
Signed-off-by: Matt Bolt <mbolt35@gmail.com>
Matt Bolt %!s(int64=2) %!d(string=hai) anos
pai
achega
f146a57c81
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/pkg/util/typeutil/typeutil.go

+ 1 - 1
core/pkg/util/typeutil/typeutil.go

@@ -41,7 +41,7 @@ func TypeOf[T any]() string {
 	return fmt.Sprintf("%s%s/%s", prefix, t.PkgPath(), name)
 }
 
-// TypeFor uses type inferencing to accepts a value and returns the fully qualified package
+// TypeFor uses type inferencing to accept a value and returns the fully qualified package
 // and type name
 func TypeFor[T any](value T) string {
 	return TypeOf[T]()