1
0
mirror of https://github.com/golang/go synced 2024-11-11 18:51:37 -07:00

net/mail: Fix typo

Fixes #21089

Change-Id: Idd65c7185b3e19f33958eb165cb5b09c06db3d56
Reviewed-on: https://go-review.googlesource.com/50110
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
yansal 2017-07-19 23:04:36 +02:00 committed by Brad Fitzpatrick
parent 77ee861ca2
commit 3498012e79

View File

@ -49,7 +49,7 @@ type Message struct {
// ReadMessage reads a message from r.
// The headers are parsed, and the body of the message will be available
// for reading from r.
// for reading from msg.Body.
func ReadMessage(r io.Reader) (msg *Message, err error) {
tp := textproto.NewReader(bufio.NewReader(r))