aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/strings
diff options
context:
space:
mode:
authorVincent Vanackere <vincent.vanackere@gmail.com>2011-11-03 14:01:30 -0700
committerRob Pike <r@golang.org>2011-11-03 14:01:30 -0700
commiteb1717e035e9c6b6690fd55b6396f99b40d26d3f (patch)
treeb03ee1d36d0ed7df98b4a0371afc5e569334d773 /src/pkg/strings
parentde03d502c7e0bd07c6f084ed9b5bb0446df29b49 (diff)
downloadgo-eb1717e035e9c6b6690fd55b6396f99b40d26d3f.tar.xz
all: rename os.EOF to io.EOF in various non-code contexts
R=golang-dev, r CC=golang-dev https://golang.org/cl/5334050
Diffstat (limited to 'src/pkg/strings')
-rw-r--r--src/pkg/strings/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strings/reader.go b/src/pkg/strings/reader.go
index ac8d9dcdf8..4f24b5b638 100644
--- a/src/pkg/strings/reader.go
+++ b/src/pkg/strings/reader.go
@@ -58,7 +58,7 @@ func (r *Reader) UnreadByte() error {
// ReadRune reads and returns the next UTF-8-encoded
// Unicode code point from the buffer.
-// If no bytes are available, the error returned is os.EOF.
+// If no bytes are available, the error returned is io.EOF.
// If the bytes are an erroneous UTF-8 encoding, it
// consumes one byte and returns U+FFFD, 1.
func (r *Reader) ReadRune() (ch rune, size int, err error) {