summary refs log tree commit diff stats
path: root/lib/pure/prelude.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/prelude.nim')
-rw-r--r--lib/pure/prelude.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/prelude.nim b/lib/pure/prelude.nim
index f1728b5f7..9428f29eb 100644
--- a/lib/pure/prelude.nim
+++ b/lib/pure/prelude.nim
@@ -14,7 +14,7 @@ when defined(nimdoc) and isMainModule:
     runnableExamples:
       include std/prelude
         # same as:
-        # import std/[os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt]
+        # import std/[os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt, strformat]
       let x = 1
       assert "foo $# $#" % [$x, "bar"] == "foo 1 bar"
       assert toSeq(1..3) == @[1, 2, 3]
@@ -25,4 +25,4 @@ when defined(nimdoc) and isMainModule:
   # xxx `nim doc -b:js -d:nodejs --doccmd:-d:nodejs lib/pure/prelude.nim` fails for some reason
   # specific to `nim doc`, but the code otherwise works with nodejs.
 
-import std/[os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt]
+import std/[os, strutils, times, parseutils, hashes, tables, sets, sequtils, parseopt, strformat]