From 504db532971b703d52f0bd4ced3e36a403b49da4 Mon Sep 17 00:00:00 2001 From: "Norman B. Lancaster" Date: Wed, 10 Jul 2019 17:31:00 -0500 Subject: [PATCH] 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 Reviewed-by: Ian Lance Taylor --- src/net/textproto/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)