aboutsummaryrefslogtreecommitdiff
path: root/src/strings
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2020-10-29 17:09:16 -0700
committerRobert Griesemer <gri@golang.org>2020-10-30 00:23:50 +0000
commitfaa44268116df045813e36c9b57d7309b74f14f6 (patch)
treec2aa8842e90e8fb73b11ef5416582bc7a47004a6 /src/strings
parent60f42ea61cb7e1de8d54432d8fb9ab028b8a575d (diff)
downloadgo-faa44268116df045813e36c9b57d7309b74f14f6.tar.gz
go-faa44268116df045813e36c9b57d7309b74f14f6.zip
strings: complete Reader doc string
Follow-up on https://golang.org/cl/247523. Change-Id: I9e91a6d77271e640d84851f2e2a4c6d2150a2b43 Reviewed-on: https://go-review.googlesource.com/c/go/+/266438 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/strings')
-rw-r--r--src/strings/reader.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings/reader.go b/src/strings/reader.go
index e03f3c5cf8..6f069a62ca 100644
--- a/src/strings/reader.go
+++ b/src/strings/reader.go
@@ -10,8 +10,8 @@ import (
"unicode/utf8"
)
-// A Reader implements the io.Reader, io.ReaderAt, io.Seeker, io.WriterTo,
-// io.ByteScanner, and io.RuneScanner interfaces by reading
+// A Reader implements the io.Reader, io.ReaderAt, io.ByteReader, io.ByteScanner,
+// io.RuneReader, io.RuneScanner, io.Seeker, and io.WriterTo interfaces by reading
// from a string.
// The zero value for Reader operates like a Reader of an empty string.
type Reader struct {