summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-01-11 01:12:52 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-01-11 01:12:52 +0100
commit8c8c48e36acbc09495757540c8c43acdb9ec9515 (patch)
tree2fedc47e709a868281a670de3ef4ec1c1dc2ec18
parent98b2c7799655b41de0ab07ef918493451220733d (diff)
parent451b943a01276cf972b05c7f317752f3411a614c (diff)
downloadNim-8c8c48e36acbc09495757540c8c43acdb9ec9515.tar.gz
Merge pull request #1924 from daniel-kullmann/doc-fix1
doc/tut2.txt: clarified usage of static/dynamic binding
-rw-r--r--doc/tut2.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tut2.txt b/doc/tut2.txt
index 30aef02b2..b9fff93b9 100644
--- a/doc/tut2.txt
+++ b/doc/tut2.txt
@@ -304,8 +304,8 @@ Procedures always use static dispatch. For dynamic dispatch replace the
   echo eval(newPlus(newPlus(newLit(1), newLit(2)), newLit(4)))
 
 Note that in the example the constructors ``newLit`` and ``newPlus`` are procs
-because they should use static binding, but ``eval`` is a method because it
-requires dynamic binding.
+because it makes more sense for them to use static binding, but ``eval`` is a
+method because it requires dynamic binding.
 
 In a multi-method all parameters that have an object type are used for the
 dispatching: