diff options
author | Adam Langley <agl@golang.org> | 2009-11-13 14:59:04 -0800 |
---|---|---|
committer | Adam Langley <agl@golang.org> | 2009-11-13 14:59:04 -0800 |
commit | 1295d4e499b64ba0bb2b7905113c09a75a2f558e (patch) | |
tree | 01254bb2b09bdf932c9db93e62bef560a55eec40 /src | |
parent | 15c8202afb972cb92358c75e3263e878d72fb73a (diff) | |
download | golang-1295d4e499b64ba0bb2b7905113c09a75a2f558e.tar.gz |
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
http://codereview.appspot.com/154122
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg/json/struct.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/json/struct.go b/src/pkg/json/struct.go index ab07d9339..4e560ec86 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} |