From: kortschak Date: Tue, 7 Apr 2015 10:49:45 +0000 (+0930) Subject: encoding/gob: make method doc string match method name X-Git-Tag: go1.5beta1~1278 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=aaa092cfd70bbdfc577c0c9837d98fa0c416447d;p=gostls13.git encoding/gob: make method doc string match method name Change-Id: I6859bd9c9dba30fc5eeb9bbc1de90af67984944c Reviewed-on: https://go-review.googlesource.com/8526 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/encoding/gob/decode.go b/src/encoding/gob/decode.go index e227b221aa..855a43f1a0 100644 --- a/src/encoding/gob/decode.go +++ b/src/encoding/gob/decode.go @@ -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 {