minor manual update
This commit is contained in:
parent
5824be8e8c
commit
c5a479d536
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ the ``of`` operator can be used to determine the object's type.
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
type
|
type
|
||||||
Person {.inheritable.} = object
|
Person = object of RootObj
|
||||||
name*: string # the * means that `name` is accessible from other modules
|
name*: string # the * means that `name` is accessible from other modules
|
||||||
age: int # no * means that the field is hidden
|
age: int # no * means that the field is hidden
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue