mirror of
https://github.com/golang/go
synced 2024-11-23 04:20:03 -07:00
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.
This commit is contained in:
parent
0055708c82
commit
1553b834bb
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user