Skip to content

Commit 0055708

Browse files
committed
reflect: Add comment for String method of Kind struct
On reflect documentation page only this function doesn't have description, this commit add simple description.
1 parent 5fc4604 commit 0055708

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/reflect/type.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ const (
593593
kindMask = (1 << 5) - 1
594594
)
595595

596+
// String returns a human-readable name of kind k.
596597
func (k Kind) String() string {
597598
if int(k) < len(kindNames) {
598599
return kindNames[k]

0 commit comments

Comments
 (0)