From 911a735e1fbe11f3d92841c1bc8b8fc87315d124 Mon Sep 17 00:00:00 2001 From: Mawuli Adzoe Date: Sat, 2 Jan 2016 14:06:55 -0700 Subject: [PATCH] Clarify documentation. Fix typo. --- infrastructure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure.go b/infrastructure.go index df3d6766..85c9a83b 100644 --- a/infrastructure.go +++ b/infrastructure.go @@ -1182,7 +1182,7 @@ func dial(config *ConnConfig) (*websocket.Conn, error) { // New creates a new RPC client based on the provided connection configuration // details. The notification handlers parameter may be nil if you are not -// interested in receiving notifications and will be ignored when if the +// interested in receiving notifications and will be ignored if the // configuration is set to run in HTTP POST mode. func New(config *ConnConfig, ntfnHandlers *NotificationHandlers) (*Client, error) { // Either open a websocket connection or create an HTTP client depending