summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/manual/threads.txt2
-rw-r--r--doc/tut1.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/threads.txt b/doc/manual/threads.txt
index fc3040c87..11380f757 100644
--- a/doc/manual/threads.txt
+++ b/doc/manual/threads.txt
@@ -37,7 +37,7 @@ that contains GC'ed memory (``string``, ``seq``, ``ref`` or a closure) either
 directly or indirectly through a call to a GC unsafe proc.
 
 The `gcsafe`:idx: annotation can be used to mark a proc to be gcsafe,
-otherwise this property is inferred by the compiler. Note that ``noSideEfect``
+otherwise this property is inferred by the compiler. Note that ``noSideEffect``
 implies ``gcsafe``. The only way to create a thread is via ``spawn`` or
 ``createThead``. ``spawn`` is usually the preferable method. Either way
 the invoked proc must not use ``var`` parameters nor must any of its parameters
diff --git a/doc/tut1.txt b/doc/tut1.txt
index 58ace1dbe..cf27ac788 100644
--- a/doc/tut1.txt
+++ b/doc/tut1.txt
@@ -1325,7 +1325,7 @@ define operators which accept Slice objects to define ranges.
     b = "Slices are useless."
 
   echo a[7..12] # --> 'a prog'
-  b[11.. -2] = "useful"
+  b[11.. ^2] = "useful"
   echo b # --> 'Slices are useful.'
 
 In the previous example slices are used to modify a part of a string, and even