Skip to content

Commit 1553b83

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 0055708 commit 1553b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reflect/type.go

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

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

0 commit comments

Comments
 (0)