2
0
Эх сурвалжийг харах

Update typeutil.go

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
Signed-off-by: Matt Bolt <mbolt35@gmail.com>
Matt Bolt 2 жил өмнө
parent
commit
f146a57c81

+ 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]()