Commit b758d870 authored by Shawn Smith's avatar Shawn Smith Committed by Russ Cox

encoding/csv: remove unused unreadRune function

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/37720046
parent a025e1ca
...@@ -193,12 +193,6 @@ func (r *Reader) readRune() (rune, error) { ...@@ -193,12 +193,6 @@ func (r *Reader) readRune() (rune, error) {
return r1, err return r1, err
} }
// unreadRune puts the last rune read from r back.
func (r *Reader) unreadRune() {
r.r.UnreadRune()
r.column--
}
// skip reads runes up to and including the rune delim or until error. // skip reads runes up to and including the rune delim or until error.
func (r *Reader) skip(delim rune) error { func (r *Reader) skip(delim rune) error {
for { for {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment