summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorreactormonk <hafnersimon@gmail.com>2015-01-03 04:42:57 +0500
committerreactormonk <hafnersimon@gmail.com>2015-01-03 04:42:57 +0500
commit8f82205d12c7546b7369505b54d0157b4909fe6d (patch)
tree3ac3baed7a315ca322a11e00ff6ec4793318d29d /doc
parent606688e059a5c6a5468890199d451fc8aabc70c8 (diff)
parent66c05e56d8a7d6dfadd8baa85c6d882bb2d670da (diff)
downloadNim-8f82205d12c7546b7369505b54d0157b4909fe6d.tar.gz
Merge pull request #1831 from homeworkprod/patch-1
Tutorial: Fixed slices example code.
Diffstat (limited to 'doc')
-rw-r--r--doc/tut1.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut1.txt b/doc/tut1.txt
index 324a38b0a..5901dd02a 100644
--- a/doc/tut1.txt
+++ b/doc/tut1.txt
@@ -1323,7 +1323,7 @@ define operators which accept TSlice objects to define ranges.
     a = "Nim is a progamming language"
     b = "Slices are useless."
 
-  echo a[10..15] # --> 'a prog'
+  echo a[7..12] # --> 'a prog'
   b[11.. -2] = "useful"
   echo b # --> 'Slices are useful.'