summary refs log tree commit diff stats
path: root/doc/tut2.rst
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2017-07-06 01:04:42 -0500
committerAndreas Rumpf <rumpf_a@web.de>2017-07-06 08:04:42 +0200
commit16619b8e781a65db729b1ab801298ad530632f8d (patch)
treeec38095ea4c6fb6ac54a9cdb957b1e7561c42fc1 /doc/tut2.rst
parent6c708038c1d4667fb5d4f84ae60873c3077f53aa (diff)
downloadNim-16619b8e781a65db729b1ab801298ad530632f8d.tar.gz
Fix for issue #6044. (#6056)
Diffstat (limited to 'doc/tut2.rst')
-rw-r--r--doc/tut2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut2.rst b/doc/tut2.rst
index 985a7257f..f145528a1 100644
--- a/doc/tut2.rst
+++ b/doc/tut2.rst
@@ -206,7 +206,7 @@ for any type:
 
   echo "abc".len # is the same as echo len("abc")
   echo "abc".toUpper()
-  echo {'a', 'b', 'c'}.card
+  echo({'a', 'b', 'c'}.card)
   stdout.writeLine("Hallo") # the same as writeLine(stdout, "Hallo")
 
 (Another way to look at the method call syntax is that it provides the missing