diff --git a/src/reflect/type.go b/src/reflect/type.go index d8971d620ef..72821b4dbc1 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -593,6 +593,7 @@ const ( kindMask = (1 << 5) - 1 ) +// String returns a human-readable name of kind k. func (k Kind) String() string { if int(k) < len(kindNames) { return kindNames[k]