summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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