summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/tut1.rst14
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst
index 436b3880d..fc8e411cb 100644
--- a/doc/tut1.rst
+++ b/doc/tut1.rst
@@ -1492,20 +1492,6 @@ variables! For example:
   echo badname
   echo badext
 
-Tuple unpacking **only** works in ``var`` or ``let`` blocks. The following code
-won't compile:
-
-.. code-block:: nim
-
-  import os
-
-  var
-    path = "usr/local/nimc.html"
-    dir, name, ext = ""
-
-  (dir, name, ext) = splitFile(path)
-  # --> Error: '(dir, name, ext)' cannot be assigned to
-
 
 Reference and pointer types
 ---------------------------