diff options
author | Daniel Martí <mvdan@mvdan.cc> | 2017-08-19 22:33:51 +0200 |
---|---|---|
committer | Daniel Martí <mvdan@mvdan.cc> | 2017-08-26 15:09:09 +0000 |
commit | 99da8730b0b95da2c366135c8dc95dcfaf9c3715 (patch) | |
tree | 49b26739802e280ecddd0a18f586222adbba5410 /src/encoding/gob | |
parent | bad6b6fa9190e9079a6d6958859856a66f0fab87 (diff) | |
download | go-99da8730b0b95da2c366135c8dc95dcfaf9c3715.tar.gz go-99da8730b0b95da2c366135c8dc95dcfaf9c3715.zip |
all: remove some double spaces from comments
Went mainly for the ones that make no sense, such as the ones
mid-sentence or after commas.
Change-Id: Ie245d2c19cc7428a06295635cf6a9482ade25ff0
Reviewed-on: https://go-review.googlesource.com/57293
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/gob')
-rw-r--r-- | src/encoding/gob/decoder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/gob/decoder.go b/src/encoding/gob/decoder.go index 8e0b1dd375..9398b8f243 100644 --- a/src/encoding/gob/decoder.go +++ b/src/encoding/gob/decoder.go @@ -55,7 +55,7 @@ func NewDecoder(r io.Reader) *Decoder { // recvType loads the definition of a type. func (dec *Decoder) recvType(id typeId) { - // Have we already seen this type? That's an error + // Have we already seen this type? That's an error if id < firstUserId || dec.wireType[id] != nil { dec.err = errors.New("gob: duplicate type received") return |