]> Cypherpunks repositories - gostls13.git/commitdiff
net/mail: Fix typo
authoryansal <yannsalaun1@gmail.com>
Wed, 19 Jul 2017 21:04:36 +0000 (23:04 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 19 Jul 2017 21:51:16 +0000 (21:51 +0000)
Fixes #21089

Change-Id: Idd65c7185b3e19f33958eb165cb5b09c06db3d56
Reviewed-on: https://go-review.googlesource.com/50110
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/mail/message.go

index 765abe25216810fbd0a30d6ed3d08f556411de2d..45a995ec7208a8b77a4a8f9c9139bead5edbc038 100644 (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))