summaryrefslogtreecommitdiff
path: root/src/pkg/json/struct.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/json/struct.go')
-rw-r--r--src/pkg/json/struct.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/json/struct.go b/src/pkg/json/struct.go
index 11aaccee9..3fcf00e89 100644
--- a/src/pkg/json/struct.go
+++ b/src/pkg/json/struct.go
@@ -167,7 +167,7 @@ func (b *structBuilder) Elem(i int) Builder {
v.Set(nv);
}
if v.Len() <= i && i < v.Cap() {
- v.SetLen(i+1)
+ v.SetLen(i + 1)
}
if i < v.Len() {
return &structBuilder{val: v.Elem(i)}