diff options
Diffstat (limited to 'src/strings/reader.go')
| -rw-r--r-- | src/strings/reader.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/strings/reader.go b/src/strings/reader.go index 497ffb7a39..f12c9b18b3 100644 --- a/src/strings/reader.go +++ b/src/strings/reader.go @@ -90,10 +90,6 @@ func (r *Reader) ReadRune() (ch rune, size int, err error) { return 0, 0, io.EOF } r.prevRune = int(r.i) - if c := r.s[r.i]; c < utf8.RuneSelf { - r.i++ - return rune(c), 1, nil - } ch, size = utf8.DecodeRuneInString(r.s[r.i:]) r.i += int64(size) return |
