File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ func parseInt64(bytes []byte) (ret int64, err error) {
111
111
return
112
112
}
113
113
114
- // parseInt treats the given bytes as a big-endian, signed integer and returns
114
+ // parseInt32 treats the given bytes as a big-endian, signed integer and returns
115
115
// the result.
116
116
func parseInt32 (bytes []byte ) (int32 , error ) {
117
117
if err := checkInteger (bytes ); err != nil {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ func errorf(format string, args ...any) {
24
24
error_ (fmt .Errorf ("gob: " + format , args ... ))
25
25
}
26
26
27
- // error wraps the argument error and uses it as the argument to panic.
27
+ // error_ wraps the argument error and uses it as the argument to panic.
28
28
func error_ (err error ) {
29
29
panic (gobError {err })
30
30
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const (
38
38
39
39
var userTypeCache sync.Map // map[reflect.Type]*userTypeInfo
40
40
41
- // validType returns, and saves, the information associated with user-provided type rt.
41
+ // validUserType returns, and saves, the information associated with user-provided type rt.
42
42
// If the user type is not valid, err will be non-nil. To be used when the error handler
43
43
// is not set up.
44
44
func validUserType (rt reflect.Type ) (* userTypeInfo , error ) {
You can’t perform that action at this time.
0 commit comments