fix some misspell

This commit is contained in:
JunDao
2019-05-19 11:55:58 +08:00
parent 637d5e35a3
commit e088636fbc
3 changed files with 8 additions and 5 deletions

View File

@ -303,7 +303,7 @@ func (d *Decoder) readTag() (tagType byte, tagName string, err error) {
func (d *Decoder) readNByte(n int) (buf []byte, err error) {
buf = make([]byte, n)
_, err = d.r.Read(buf) //what happend if (returned n) != (argument n) ?
_, err = d.r.Read(buf) //what happened if (returned n) != (argument n) ?
return
}