diff options
Diffstat (limited to 'libgo/go/encoding/gob/error.go')
-rw-r--r-- | libgo/go/encoding/gob/error.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/encoding/gob/error.go b/libgo/go/encoding/gob/error.go index 949333bc037..3c9515b5ed6 100644 --- a/libgo/go/encoding/gob/error.go +++ b/libgo/go/encoding/gob/error.go @@ -20,7 +20,7 @@ type gobError struct { // errorf is like error_ but takes Printf-style arguments to construct an error. // It always prefixes the message with "gob: ". -func errorf(format string, args ...interface{}) { +func errorf(format string, args ...any) { error_(fmt.Errorf("gob: "+format, args...)) } |