summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsupakeen <39536295+supakeen@users.noreply.github.com>2020-10-03 13:43:43 +0200
committerGitHub <noreply@github.com>2020-10-03 13:43:43 +0200
commit662c5080755eb5a42df2c3acb84c044876571a46 (patch)
tree86c10b54503130e13f95cbf18884f0fca8cccd56
parentdcd0ce17759609084951e4d3ac7f24b3eec62a26 (diff)
downloadNim-662c5080755eb5a42df2c3acb84c044876571a46.tar.gz
Return type of asyncftpclient to fix example. (#15476)
Related to: #13641
-rw-r--r--lib/pure/asyncftpclient.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/asyncftpclient.nim b/lib/pure/asyncftpclient.nim
index 208782c05..ba565059d 100644
--- a/lib/pure/asyncftpclient.nim
+++ b/lib/pure/asyncftpclient.nim
@@ -63,7 +63,7 @@
 ##    import asyncdispatch, asyncftpclient
 ##
 ##    proc onProgressChanged(total, progress: BiggestInt,
-##                            speed: float): Future[void] =
+##                            speed: float) {.async.} =
 ##      echo("Uploaded ", progress, " of ", total, " bytes")
 ##      echo("Current speed: ", speed, " kb/s")
 ##