summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-12-09 21:23:12 +0100
committerAraq <rumpf_a@web.de>2012-12-09 21:23:12 +0100
commitb0dc877cc3cb45cce40f7cd9ad281823bf91cd72 (patch)
tree39e4acffc9d67068b7b45577ade0bda1ee8abd0e /doc
parentf96ec25ed26cc8868adba6c61af037056049e6be (diff)
downloadNim-b0dc877cc3cb45cce40f7cd9ad281823bf91cd72.tar.gz
small documentation improvements
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/manual.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index 6e61395e3..2feb60ac0 100755
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -2858,9 +2858,9 @@ compatibility:
 For a routine ``p`` the compiler uses inference rules to determine the set of
 possibly raised exceptions; the algorithm operates on ``p``'s call graph:
 
-1. Every indirect call via some proc type ``T`` is assumed to 
-   raise ``system.E_Base`` (the base type of the exception hierarchy) and thus
-   any exception unless ``T`` has an explicit ``raises`` list.
+1. Every indirect call via some proc type ``T`` is assumed to
+   raise ``system.E_Base`` (the base type of the exception hierarchy) and
+   thus any exception unless ``T`` has an explicit ``raises`` list.
 2. Every call to a proc ``q`` which has an unknown body (due to a forward 
    declaration or an ``importc`` pragma) is assumed to 
    raise ``system.E_Base`` unless ``q`` has an explicit ``raises`` list.
@@ -2914,7 +2914,7 @@ effects up to the ``effects``'s position:
   proc p(what: bool) =
     if what:
       raise newException(EIO, "IO")
-      {.effect.}
+      {.effects.}
     else:
       raise newException(EOS, "OS")
 
@@ -3522,7 +3522,7 @@ BindSym
 The above ``debug`` macro relies on the fact that ``write``, ``writeln`` and
 ``stdout`` are declared in the system module and thus visible in the 
 instantiating context. There is a way to use bound identifiers
-(aka `symbols`:idx) instead of using unbound identifiers. The ``bindSym`` 
+(aka `symbols`:idx:) instead of using unbound identifiers. The ``bindSym`` 
 builtin can be used for that:
 
 .. code-block:: nimrod
@@ -4038,7 +4038,7 @@ ordinary routines.
 Move optimization
 -----------------
 
-The ``call`` constraint is particular useful to implement a `move`:idx: 
+The ``call`` constraint is particularly useful to implement a `move`:idx: 
 optimization for types that have copying semantics:
 
 .. code-block:: nimrod