diff options
author | Michal Maršálek <MichalMarsalek@users.noreply.github.com> | 2022-12-03 14:25:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 21:25:49 +0800 |
commit | 83493e42949fb954c66961328dde50a32f916743 (patch) | |
tree | 2bdbf0cde0e8c8b759f59a0301f9e2e9b231a9cd /lib/pure | |
parent | ece41d26059c3d1c46af661ef146c21fffc75d16 (diff) | |
download | Nim-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.nim | 2 |
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] |