diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-07-22 23:09:57 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-07-22 23:09:57 -0600 |
commit | 72f6d13f6fb2147c8662254104f9327e6f31b057 (patch) | |
tree | 30cb89fa879bcde0d9d49c9ed3dca47b7dfe4a4f | |
parent | 20970476696d4d9b59c19e1ed936074877cc01b0 (diff) |
decode: Fix a typo in a commentmain
-rw-r--r-- | decode.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |