Change stdlib imports to use std prefix in most examples (#17202)

This commit is contained in:
Danil Yarantsev 2021-03-01 00:17:19 +03:00 • committed by GitHub
commit 56461c280f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 127 additions and 127 deletions

View file

@ -29,7 +29,7 @@ the passed expression on the thread pool and returns a `data flow variable`:idx:
variables at the same time:
.. code-block:: nim
import threadpool, ...
import std/threadpool, ...
# wait until 2 out of 3 servers received the update:
proc main =
@ -56,7 +56,7 @@ Example:
.. code-block:: nim
# Compute PI in an inefficient way
import strutils, math, threadpool
import std/[strutils, math, threadpool]
proc term(k: float): float = 4 * math.pow(-1, k) / (2*k + 1)