From 662c5080755eb5a42df2c3acb84c044876571a46 Mon Sep 17 00:00:00 2001 From: supakeen <39536295+supakeen@users.noreply.github.com> Date: Sat, 3 Oct 2020 13:43:43 +0200 Subject: [PATCH] Return type of asyncftpclient to fix example. (#15476) Related to: #13641 --- lib/pure/asyncftpclient.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/asyncftpclient.nim b/lib/pure/asyncftpclient.nim index 208782c056..ba565059dd 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") ##