Skip to content

Commit 504db53

Browse files
qbradqianlancetaylor
authored andcommitted
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 <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 72735e7 commit 504db53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/textproto/reader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (r *Reader) readLineSlice() ([]byte, error) {
8888
// The first call to ReadContinuedLine will return "Line 1 continued..."
8989
// and the second will return "Line 2".
9090
//
91-
// A line consisting of only white space is never continued.
91+
// Empty lines are never continued.
9292
//
9393
func (r *Reader) ReadContinuedLine() (string, error) {
9494
line, err := r.readContinuedLineSlice(noValidation)

0 commit comments

Comments
 (0)