follow convention for deprecation notice in ExchangeConn (#908)

This commit is contained in:
Tariq Ibrahim 2019-02-06 23:30:09 -08:00 committed by Miek Gieben
parent a288d199dc
commit 164b22ef9a
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ func ExchangeContext(ctx context.Context, m *Msg, a string) (r *Msg, err error)
// ExchangeConn performs a synchronous query. It sends the message m via the connection
// c and waits for a reply. The connection c is not closed by ExchangeConn.
// This function is going away, but can easily be mimicked:
// Deprecated: This function is going away, but can easily be mimicked:
//
// co := &dns.Conn{Conn: c} // c is your net.Conn
// co.WriteMsg(m)