1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:07:56 -07:00

reflect: fix comment

R=r
CC=golang-dev
https://golang.org/cl/5039045
This commit is contained in:
Robert Griesemer 2011-09-16 15:07:13 -07:00
parent 048ec75801
commit ae4f1c4c3a

View File

@ -716,7 +716,7 @@ type StructTag string
// Get returns the value associated with key in the tag string.
// If there is no such key in the tag, Get returns the empty string.
// If the tag does not have the conventional format, the value
// returned by Get is unspecified,
// returned by Get is unspecified.
func (tag StructTag) Get(key string) string {
for tag != "" {
// skip leading space