Update utf8reader.go

This commit is contained in:
Qiao 2014-11-07 21:33:44 +08:00
parent 9bf2046a64
commit 79a7fa55ee
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ func (b *Reader) ReadData() (line string, err error) {
line = string(b.buf[b.r : b.r+index])
b.r += index
} else {
panic("known error")
panic("no utf8 char found")
}
return
}