summaryrefslogtreecommitdiff
path: root/vendor/github.com/bytedance/sonic/decoder
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/bytedance/sonic/decoder')
-rw-r--r--vendor/github.com/bytedance/sonic/decoder/decoder_compat.go4
-rw-r--r--vendor/github.com/bytedance/sonic/decoder/decoder_native.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/bytedance/sonic/decoder/decoder_compat.go b/vendor/github.com/bytedance/sonic/decoder/decoder_compat.go
index 81e1ae4e3..a0e1de4da 100644
--- a/vendor/github.com/bytedance/sonic/decoder/decoder_compat.go
+++ b/vendor/github.com/bytedance/sonic/decoder/decoder_compat.go
@@ -192,5 +192,5 @@ func (s SyntaxError) Error() string {
return (*json.SyntaxError)(unsafe.Pointer(&s)).Error()
}
-// MismatchTypeError represents dismatching between json and object
-type MismatchTypeError json.UnmarshalTypeError \ No newline at end of file
+// MismatchTypeError represents mismatching between json and object
+type MismatchTypeError json.UnmarshalTypeError
diff --git a/vendor/github.com/bytedance/sonic/decoder/decoder_native.go b/vendor/github.com/bytedance/sonic/decoder/decoder_native.go
index 9317d57f6..450dfb624 100644
--- a/vendor/github.com/bytedance/sonic/decoder/decoder_native.go
+++ b/vendor/github.com/bytedance/sonic/decoder/decoder_native.go
@@ -30,7 +30,7 @@ type Decoder = api.Decoder
// SyntaxError represents json syntax error
type SyntaxError = api.SyntaxError
-// MismatchTypeError represents dismatching between json and object
+// MismatchTypeError represents mismatching between json and object
type MismatchTypeError = api.MismatchTypeError
// Options for decode.