From 1553b834bb4f7a49efc7ff81763a255bc51bbf17 Mon Sep 17 00:00:00 2001 From: Vladimir Kovpak Date: Fri, 16 Nov 2018 10:13:32 +0200 Subject: [PATCH] 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. --- src/reflect/type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflect/type.go b/src/reflect/type.go index 72821b4dbc..f53a42a444 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -593,7 +593,7 @@ const ( kindMask = (1 << 5) - 1 ) -// String returns a human-readable name of kind k. +// String returns the name of k. func (k Kind) String() string { if int(k) < len(kindNames) { return kindNames[k]