summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorDanil Yarantsev <tiberiumk12@gmail.com>2021-03-01 00:17:19 +0300
committerGitHub <noreply@github.com>2021-02-28 13:17:19 -0800
commit56461c280f78c55f538da7f382e1c2c308e04915 (patch)
treef98e1d9a440725e4bdf3f44a1694aec958299ff6 /lib/core
parent26a6ceb34eb2bfca4e39dec2dac2d0a2cdc1bade (diff)
downloadNim-56461c280f78c55f538da7f382e1c2c308e04915.tar.gz
Change stdlib imports to use std prefix in most examples (#17202)
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/macros.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index fb23954c0..b73e0295a 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -1459,7 +1459,7 @@ macro expandMacros*(body: typed): untyped =
   ## For instance,
   ##
   ## .. code-block:: nim
-  ##   import sugar, macros
+  ##   import std/[sugar, macros]
   ##
   ##   let
   ##     x = 10
@@ -1657,7 +1657,7 @@ proc extractDocCommentsAndRunnables*(n: NimNode): NimNode =
   ## Example:
   ##
   ## .. code-block:: nim
-  ##  import macros
+  ##  import std/macros
   ##  macro transf(a): untyped =
   ##    result = quote do:
   ##      proc fun2*() = discard