mirror of
https://github.com/golang/go
synced 2024-11-23 22:00:11 -07:00
encoding/gob: make method doc string match method name
Change-Id: I6859bd9c9dba30fc5eeb9bbc1de90af67984944c Reviewed-on: https://go-review.googlesource.com/8526 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
5a83f06c21
commit
aaa092cfd7
@ -1120,7 +1120,7 @@ type emptyStruct struct{}
|
||||
|
||||
var emptyStructType = reflect.TypeOf(emptyStruct{})
|
||||
|
||||
// getDecEnginePtr returns the engine for the specified type when the value is to be discarded.
|
||||
// getIgnoreEnginePtr returns the engine for the specified type when the value is to be discarded.
|
||||
func (dec *Decoder) getIgnoreEnginePtr(wireId typeId) (enginePtr **decEngine, err error) {
|
||||
var ok bool
|
||||
if enginePtr, ok = dec.ignorerCache[wireId]; !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user