From 72f6d13f6fb2147c8662254104f9327e6f31b057 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 22 Jul 2023 23:09:57 -0600 Subject: decode: Fix a typo in a comment --- decode.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/decode.go b/decode.go index 44eaba4..fd4a31c 100644 --- a/decode.go +++ b/decode.go @@ -1153,10 +1153,10 @@ func (dec *Decoder) decodeArray(gTyp reflect.Type, decodeMember func() *DecodeEr } } -// DecodeString is a helper function to eas implementing the Decodable -// interface; allowing the lowmemjson package to handle decoding -// character escapes and such, while the Decodable only needs to -// handle what to do with the decoded runes. +// DecodeString is a helper function to ease implementing the +// Decodable interface; allowing the lowmemjson package to handle +// decoding character escapes and such, while the Decodable only needs +// to handle what to do with the decoded runes. // // Outside of implementing Decodable.DecodeJSON methods, callers // should instead simply use NewDecoder(r).Decode(&val) rather than -- cgit v1.1-4-g5e80