aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/gob/type.go
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2022-09-30 06:11:15 +0000
committerGopher Robot <gobot@golang.org>2022-09-30 23:03:07 +0000
commitaeab76f0befcd6ab1257eae9adb27ac2cb2b7ff8 (patch)
tree0711b828cf66e7fcad6d1b39b878bd7de619b218 /src/encoding/gob/type.go
parent76c1a501a5bb1e511655d89195b3b94b7a621cf9 (diff)
downloadgo-aeab76f0befcd6ab1257eae9adb27ac2cb2b7ff8.tar.xz
encoding: fix a few function names on comments
Change-Id: I17a311afb94a056b3d35bfa241f5d0d206db602d GitHub-Last-Rev: 42129464c9e17fae9b61ea60940e193fcefc5760 GitHub-Pull-Request: golang/go#55962 Reviewed-on: https://go-review.googlesource.com/c/go/+/436882 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Keith Randall <khr@google.com> Run-TryBot: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/encoding/gob/type.go')
-rw-r--r--src/encoding/gob/type.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/gob/type.go b/src/encoding/gob/type.go
index 9eec08615e..3114cb0f98 100644
--- a/src/encoding/gob/type.go
+++ b/src/encoding/gob/type.go
@@ -38,7 +38,7 @@ const (
var userTypeCache sync.Map // map[reflect.Type]*userTypeInfo
-// validType returns, and saves, the information associated with user-provided type rt.
+// validUserType returns, and saves, the information associated with user-provided type rt.
// If the user type is not valid, err will be non-nil. To be used when the error handler
// is not set up.
func validUserType(rt reflect.Type) (*userTypeInfo, error) {