summary refs log tree commit diff stats
diff options
context:
space:
mode:
authordaneb <dane.balia@hetzner.co.za>2017-06-13 21:45:18 +0200
committerdaneb <dane.balia@hetzner.co.za>2017-06-13 21:45:18 +0200
commit0a022664d513dc01ca03b4a74b6a6d80314cfcf4 (patch)
treeee43ab84a0f9f7942913a44505a4303cdb362b76
parent64cbcec54d7bf94ff9718416722e06f4462e8a5c (diff)
downloadNim-0a022664d513dc01ca03b4a74b6a6d80314cfcf4.tar.gz
Minor formatting
-rw-r--r--lib/pure/httpclient.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim
index 641576bf7..909a2613f 100644
--- a/lib/pure/httpclient.nim
+++ b/lib/pure/httpclient.nim
@@ -62,7 +62,7 @@
 ##   let body = %*{
 ##       "data": "some text"
 ##   }
-##   var response =  client.request("http://some.api", httpMethod = HttpPost, body = $body)
+##   let response = client.request("http://some.api", httpMethod = HttpPost, body = $body)
 ##   echo response.status
 ##
 ## Progress reporting