summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAlfred Morgan <alfred@54.org>2022-05-10 05:21:35 -0700
committerGitHub <noreply@github.com>2022-05-10 20:21:35 +0800
commit85bc8326acc9bf18e748055e770a40890e7ac069 (patch)
treefff76622ab12b7bd5c0a5444d194185de6cd62c3 /doc
parentb2b878f4d62ff2dcaf69979bb0f96e6015b47605 (diff)
downloadNim-85bc8326acc9bf18e748055e770a40890e7ac069.tar.gz
varargs example erroneously transformed "abc" to "def" (#19781)
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index a92d6e18f..126b0f0d6 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -1556,7 +1556,7 @@ type conversions in this context:
 
   myWriteln(stdout, 123, "abc", 4.0)
   # is transformed to:
-  myWriteln(stdout, [$123, $"def", $4.0])
+  myWriteln(stdout, [$123, $"abc", $4.0])
 
 In this example `$` is applied to any argument that is passed to the
 parameter `a`. (Note that `$` applied to strings is a nop.)