]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/gob: make method doc string match method name
authorkortschak <dan.kortschak@adelaide.edu.au>
Tue, 7 Apr 2015 10:49:45 +0000 (20:19 +0930)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 7 Apr 2015 13:35:41 +0000 (13:35 +0000)
Change-Id: I6859bd9c9dba30fc5eeb9bbc1de90af67984944c
Reviewed-on: https://go-review.googlesource.com/8526
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/encoding/gob/decode.go

index e227b221aa676e7458df5c1358a0bf0e9e08c790..855a43f1a01cf5d503dcec548aa56ae62f98749f 100644 (file)
@@ -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 {