Update prelude example (#21005)

comment to match what's actually being imported.
This commit is contained in:
Michal Maršálek 2022-12-03 14:25:49 +01:00 • committed by GitHub
commit 83493e4294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ when defined(nimdoc) and isMainModule:
runnableExamples: runnableExamples:
include std/prelude include std/prelude
# same as: # 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 let x = 1
assert "foo $# $#" % [$x, "bar"] == "foo 1 bar" assert "foo $# $#" % [$x, "bar"] == "foo 1 bar"
assert toSeq(1..3) == @[1, 2, 3] assert toSeq(1..3) == @[1, 2, 3]