aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/encoding/json/encode.go
diff options
context:
space:
mode:
authorDavid G. Andersen <dave.andersen@gmail.com>2012-06-22 14:43:41 -0700
committerRob Pike <r@golang.org>2012-06-22 14:43:41 -0700
commit75344d3d5b85acb4db74eb98cdffdef1d490508c (patch)
tree6d469ac66077bda03a1aafcfdadd793643041b10 /src/pkg/encoding/json/encode.go
parentdd6db9b7bacc9b4e5cd5075aedeb55701320c379 (diff)
downloadgo-75344d3d5b85acb4db74eb98cdffdef1d490508c.tar.xz
encoding/json: fix minor typo in documentation for Marshal
R=golang-dev, r CC=golang-dev https://golang.org/cl/6325053
Diffstat (limited to 'src/pkg/encoding/json/encode.go')
-rw-r--r--src/pkg/encoding/json/encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/encoding/json/encode.go b/src/pkg/encoding/json/encode.go
index b6e1cb16e5..d2c1c4424c 100644
--- a/src/pkg/encoding/json/encode.go
+++ b/src/pkg/encoding/json/encode.go
@@ -55,7 +55,7 @@ import (
// nil pointer or interface value, and any array, slice, map, or string of
// length zero. The object's default key string is the struct field name
// but can be specified in the struct field's tag value. The "json" key in
-// struct field's tag value is the key name, followed by an optional comma
+// the struct field's tag value is the key name, followed by an optional comma
// and options. Examples:
//
// // Field is ignored by this package.