diff --git a/src/strings/reader.go b/src/strings/reader.go index 6f069a62cad..04f31a1e8f1 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} }