]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/json: remove unused field from Encoder struct
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 12 Jun 2014 16:44:59 +0000 (09:44 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 12 Jun 2014 16:44:59 +0000 (09:44 -0700)
It should've been removed in https://golang.org/cl/9365044

Thanks to Jacek Masiulaniec for noticing.

LGTM=ruiu
R=ruiu
CC=golang-codereviews
https://golang.org/cl/109880043

src/pkg/encoding/json/stream.go

index 1cb289fd84317679b7247a767a65e21cbd8ec76c..9566ecadcbb12df7b54dd5837c8a1c6469ea7bbb 100644 (file)
@@ -139,7 +139,6 @@ func nonSpace(b []byte) bool {
 // An Encoder writes JSON objects to an output stream.
 type Encoder struct {
        w   io.Writer
-       e   encodeState
        err error
 }