Просмотр исходного кода

Update typeutil.go

Co-authored-by: Alex Meijer <ameijer@users.noreply.github.com>
Signed-off-by: Matt Bolt <mbolt35@gmail.com>
Matt Bolt 2 лет назад
Родитель
Сommit
f146a57c81
1 измененных файлов с 1 добавлено и 1 удалено
  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]()