summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-05-28 12:44:58 +0200
committerAraq <rumpf_a@web.de>2015-05-28 12:44:58 +0200
commitc5a479d536eee243846282f3817ebb3916f6bcf4 (patch)
tree640ae09552337e2dd5f6085cd9ef61bfce90a9b5 /doc
parent5824be8e8c1670b5da6b7cf10b817392a8f113be (diff)
downloadNim-c5a479d536eee243846282f3817ebb3916f6bcf4.tar.gz
minor manual update
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/types.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/types.txt b/doc/manual/types.txt
index bdf51941d..1461b67b2 100644
--- a/doc/manual/types.txt
+++ b/doc/manual/types.txt
@@ -564,7 +564,7 @@ the ``of`` operator can be used to determine the object's type.
 
 .. code-block:: nim
   type
-    Person {.inheritable.} = object
+    Person = object of RootObj
       name*: string   # the * means that `name` is accessible from other modules
       age: int        # no * means that the field is hidden