aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/gob/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding/gob/error.go')
-rw-r--r--src/encoding/gob/error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/gob/error.go b/src/encoding/gob/error.go
index 3c9515b5ed..9c614e3e3f 100644
--- a/src/encoding/gob/error.go
+++ b/src/encoding/gob/error.go
@@ -24,7 +24,7 @@ func errorf(format string, args ...any) {
error_(fmt.Errorf("gob: "+format, args...))
}
-// error wraps the argument error and uses it as the argument to panic.
+// error_ wraps the argument error and uses it as the argument to panic.
func error_(err error) {
panic(gobError{err})
}