stdlib: minor changes to avoid compiler warnings

This commit is contained in:
Andreas Rumpf 2018-09-19 15:39:01 +02:00
commit 541debe6e1
3 changed files with 4 additions and 4 deletions

View file

@ -1514,7 +1514,7 @@ proc poll*(timeout = 500) =
discard runOnce(timeout) discard runOnce(timeout)
# Common procedures between current and upcoming asyncdispatch # Common procedures between current and upcoming asyncdispatch
include includes.asynccommon include includes/asynccommon
proc sleepAsync*(ms: int | float): Future[void] = proc sleepAsync*(ms: int | float): Future[void] =
## Suspends the execution of the current async procedure for the next ## Suspends the execution of the current async procedure for the next