From: Adam Langley Date: Fri, 13 Nov 2009 22:59:04 +0000 (-0800) Subject: json: minor comment fix. X-Git-Tag: weekly.2009-11-17~77 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a070722340815d1cc7246a34228b58d7040a2ec8;p=gostls13.git json: minor comment fix. I screwed up and didn't write one of the code review changes to disk before submitting. TBR=rsc R=rsc https://golang.org/cl/154122 --- diff --git a/src/pkg/json/struct.go b/src/pkg/json/struct.go index ab07d93399..4e560ec866 100644 --- a/src/pkg/json/struct.go +++ b/src/pkg/json/struct.go @@ -289,7 +289,7 @@ func Unmarshal(s string, val interface{}) (ok bool, errtok string) { v := reflect.NewValue(val); var b *structBuilder; - // If val is a pointer to a slice, we mutate the pointee. + // If val is a pointer to a slice, we append to the slice. if ptr, ok := v.(*reflect.PtrValue); ok { if slice, ok := ptr.Elem().(*reflect.SliceValue); ok { b = &structBuilder{val: slice}