promote std prefix in docs (#17128)

This commit is contained in:
flywind 2021-02-21 00:38:29 -06:00 • committed by GitHub
commit 69a78c9183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 41 additions and 41 deletions

View file

@ -310,7 +310,7 @@ For integers or other ordinal types value ranges are also possible:
.. code-block:: nim
# this statement will be explained later:
from strutils import parseInt
from std/strutils import parseInt
echo "A number please: "
let n = parseInt(readLine(stdin))
@ -1607,7 +1607,7 @@ variables! For example:
.. code-block:: nim
:test: "nim c $1"
import os
import std/os
let
path = "usr/local/nimc.html"