aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/strings/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings/reader.go b/src/strings/reader.go
index 6f069a62ca..04f31a1e8f 100644
--- a/src/strings/reader.go
+++ b/src/strings/reader.go
@@ -156,5 +156,5 @@ func (r *Reader) WriteTo(w io.Writer) (n int64, err error) {
func (r *Reader) Reset(s string) { *r = Reader{s, 0, -1} }
// NewReader returns a new Reader reading from s.
-// It is similar to bytes.NewBufferString but more efficient and read-only.
+// It is similar to bytes.NewBufferString but more efficient and non-writable.
func NewReader(s string) *Reader { return &Reader{s, 0, -1} }