aboutsummaryrefslogtreecommitdiff
path: root/internal/encoding/json/decode.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/encoding/json/decode.go')
-rw-r--r--internal/encoding/json/decode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/encoding/json/decode.go b/internal/encoding/json/decode.go
index b13fd29e..d043a6eb 100644
--- a/internal/encoding/json/decode.go
+++ b/internal/encoding/json/decode.go
@@ -294,7 +294,7 @@ func (d *Decoder) isValueNext() bool {
}
// consumeToken constructs a Token for given Kind with raw value derived from
-// current d.in and given size, and consumes the given size-lenght of it.
+// current d.in and given size, and consumes the given size-length of it.
func (d *Decoder) consumeToken(kind Kind, size int) Token {
tok := Token{
kind: kind,