From 1ba9487b18c6dad13a9466b07f7d92f8292cb928 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Mon, 26 Oct 2020 14:10:31 +0100 Subject: [PATCH] make the client.Exchange doc work (#1190) Remove the newline so the comment is picked up as documentation. Signed-off-by: Miek Gieben --- client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/client.go b/client.go index e7ff786a..f580205e 100644 --- a/client.go +++ b/client.go @@ -124,7 +124,6 @@ func (c *Client) Dial(address string) (conn *Conn, err error) { // of 512 bytes // To specify a local address or a timeout, the caller has to set the `Client.Dialer` // attribute appropriately - func (c *Client) Exchange(m *Msg, address string) (r *Msg, rtt time.Duration, err error) { co, err := c.Dial(address)