diff options
author | supakeen <39536295+supakeen@users.noreply.github.com> | 2020-10-03 13:43:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-03 13:43:43 +0200 |
commit | 662c5080755eb5a42df2c3acb84c044876571a46 (patch) | |
tree | 86c10b54503130e13f95cbf18884f0fca8cccd56 | |
parent | dcd0ce17759609084951e4d3ac7f24b3eec62a26 (diff) | |
download | Nim-662c5080755eb5a42df2c3acb84c044876571a46.tar.gz |
Return type of asyncftpclient to fix example. (#15476)
Related to: #13641
-rw-r--r-- | lib/pure/asyncftpclient.nim | 2 |
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") ## |