mirror of
https://github.com/golang/go
synced 2024-11-26 22:31:23 -07:00
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>
This commit is contained in:
parent
72735e7e05
commit
504db53297
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user