summaryrefslogtreecommitdiff
path: root/vendor/github.com/bytedance/sonic/internal/decoder/optdec/native.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/bytedance/sonic/internal/decoder/optdec/native.go')
-rw-r--r--vendor/github.com/bytedance/sonic/internal/decoder/optdec/native.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/bytedance/sonic/internal/decoder/optdec/native.go b/vendor/github.com/bytedance/sonic/internal/decoder/optdec/native.go
index 29a0136ae..5dadec0b7 100644
--- a/vendor/github.com/bytedance/sonic/internal/decoder/optdec/native.go
+++ b/vendor/github.com/bytedance/sonic/internal/decoder/optdec/native.go
@@ -61,13 +61,13 @@ type node struct {
val uint64
}
-// should consitent with native/parser.c
+// should consistent with native/parser.c
type _nospaceBlock struct {
_ [8]byte
_ [8]byte
}
-// should consitent with native/parser.c
+// should consistent with native/parser.c
type nodeBuf struct {
ncur uintptr
parent int64
@@ -84,7 +84,7 @@ func (self *nodeBuf) init(nodes []node) {
self.parent = -1
}
-// should consitent with native/parser.c
+// should consistent with native/parser.c
type Parser struct {
Json string
padded []byte