diff options
| author | Bryan C. Mills <bcmills@google.com> | 2019-08-05 14:32:46 -0400 |
|---|---|---|
| committer | Bryan C. Mills <bcmills@google.com> | 2019-09-11 16:24:33 +0000 |
| commit | 8fb9fa36f5b7cf161d0694fdb418af7c83b946d5 (patch) | |
| tree | 2d238b673568aaf5cacc3de7458d35d6f5825190 /src/encoding/json/encode.go | |
| parent | 51be44bfafb43e034fae09f259b53b48c395f89b (diff) | |
| download | go-8fb9fa36f5b7cf161d0694fdb418af7c83b946d5.tar.xz | |
cmd/go/internal/get: make the implementation of charsetReader match its comment
The doc comment for charsetReader claims that it supports UTF-8,
but in practice it does not: instead, it is never invoked for UTF-8.
We could update the comment to clarify that fact, but it seems simpler
to change the implementation to match the comment.
Change-Id: I39b11395ccef3feff96480b9294e8f2a232728dd
Reviewed-on: https://go-review.googlesource.com/c/go/+/189777
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
