summary refs log tree commit diff stats
path: root/doc/manual.txt
diff options
context:
space:
mode:
authorAndreas Rumpf <ar@kimeta.de>2014-04-13 00:00:06 +0200
committerAndreas Rumpf <ar@kimeta.de>2014-04-13 00:00:06 +0200
commit90a6f4ba984334723ddf5a5bccf54f83f0e0707f (patch)
tree28d2c5b841520a8de3f2beee47bc33bda866ed20 /doc/manual.txt
parentdcfc7a8896166563f6fd80fbab81bc50e0b5a217 (diff)
downloadNim-90a6f4ba984334723ddf5a5bccf54f83f0e0707f.tar.gz
fixed a typo
Diffstat (limited to 'doc/manual.txt')
-rw-r--r--doc/manual.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index 298f6329b..775679788 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -1390,7 +1390,7 @@ In order to make generic code easier tor write ``ptr T`` is a subtype
 of ``ptr[R, T]`` for any ``R``.
 
 Furthermore the subtype relation of the region object types is lifted to
-the pointer types: If ``A <: B`` then ``ptr[T, A] <: ptr[T, B]``. This can be
+the pointer types: If ``A <: B`` then ``ptr[A, T] <: ptr[B, T]``. This can be
 used to model subregions of memory. As a special typing rule ``ptr[R, T]`` is
 not compatible to ``pointer`` to prevent the following from compiling: