Commit 3498012e authored by yansal's avatar yansal Committed by Brad Fitzpatrick

net/mail: Fix typo

Fixes #21089

Change-Id: Idd65c7185b3e19f33958eb165cb5b09c06db3d56
Reviewed-on: https://go-review.googlesource.com/50110Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 77ee861c
...@@ -49,7 +49,7 @@ type Message struct { ...@@ -49,7 +49,7 @@ type Message struct {
// ReadMessage reads a message from r. // ReadMessage reads a message from r.
// The headers are parsed, and the body of the message will be available // 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) { func ReadMessage(r io.Reader) (msg *Message, err error) {
tp := textproto.NewReader(bufio.NewReader(r)) tp := textproto.NewReader(bufio.NewReader(r))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment