aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2025-12-04 11:39:53 +0800
committerGopher Robot <gobot@golang.org>2025-12-05 07:30:36 -0800
commita70addd3b31ccb685f48867e24c6c2b4dc364a11 (patch)
treea93210950419121eeb342832e06acbb3a54a0b7e /src/encoding
parent93b49f773d1a4b706f5352dffb912c259c15dc4f (diff)
downloadgo-a70addd3b31ccb685f48867e24c6c2b4dc364a11.tar.xz
all: fix some comment issues
Change-Id: I5dec35b1432705b3a52859c38e758220282226af Reviewed-on: https://go-review.googlesource.com/c/go/+/726700 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Sean Liao <sean@liao.dev> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/encoding')
-rw-r--r--src/encoding/gob/decgen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoding/gob/decgen.go b/src/encoding/gob/decgen.go
index 420c86207c..95d84b6762 100644
--- a/src/encoding/gob/decgen.go
+++ b/src/encoding/gob/decgen.go
@@ -4,8 +4,8 @@
//go:build ignore
-// encgen writes the helper functions for encoding. Intended to be
-// used with go generate; see the invocation in encode.go.
+// decgen writes the helper functions for decoding. Intended to be
+// used with go generate; see the invocation in decode.go.
// TODO: We could do more by being unsafe. Add a -unsafe flag?