diff options
-rw-r--r-- | doc/manual/types.txt | 2 |
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 |