summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorMichal Maršálek <MichalMarsalek@users.noreply.github.com>2022-12-03 14:25:49 +0100
committerGitHub <noreply@github.com>2022-12-03 21:25:49 +0800
commit83493e42949fb954c66961328dde50a32f916743 (patch)
tree2bdbf0cde0e8c8b759f59a0301f9e2e9b231a9cd /lib/pure
parentece41d26059c3d1c46af661ef146c21fffc75d16 (diff)
downloadNim-83493e42949fb954c66961328dde50a32f916743.tar.gz
Update prelude example (#21005)
comment to match what's actually being imported.
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/prelude.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/prelude.nim b/lib/pure/prelude.nim
index 3c98d9d57..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]