aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorman B. Lancaster <qbradq@gmail.com>2019-07-10 17:31:00 -0500
committerIan Lance Taylor <iant@golang.org>2020-07-09 20:09:55 +0000
commit504db532971b703d52f0bd4ced3e36a403b49da4 (patch)
treeb60101eed1436c7e1e1c10405ac36e9036549886
parent72735e7e05a79dd9272659e3095aa754c741a54e (diff)
downloadgo-504db532971b703d52f0bd4ced3e36a403b49da4.tar.gz
go-504db532971b703d52f0bd4ced3e36a403b49da4.zip
net/textproto: correct documentation of empty line handling
Fixes #32493 Change-Id: I9c93791c4cc5c0c14556802733066407de3181ca Reviewed-on: https://go-review.googlesource.com/c/go/+/185542 TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--src/net/textproto/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/textproto/reader.go b/src/net/textproto/reader.go
index d26e981ae4..a00fd2395f 100644
--- a/src/net/textproto/reader.go
+++ b/src/net/textproto/reader.go
@@ -88,7 +88,7 @@ func (r *Reader) readLineSlice() ([]byte, error) {
// The first call to ReadContinuedLine will return "Line 1 continued..."
// and the second will return "Line 2".
//
-// A line consisting of only white space is never continued.
+// Empty lines are never continued.
//
func (r *Reader) ReadContinuedLine() (string, error) {
line, err := r.readContinuedLineSlice(noValidation)