Documentation: directly use ref object + fields (#6598)
This commit is contained in:
parent
ac5dff2e04
commit
e7c09512d2
5 changed files with 48 additions and 37 deletions
|
|
@ -1511,8 +1511,7 @@ operators perform implicit dereferencing operations for reference types:
|
|||
.. code-block:: nim
|
||||
|
||||
type
|
||||
Node = ref NodeObj
|
||||
NodeObj = object
|
||||
Node = ref object
|
||||
le, ri: Node
|
||||
data: int
|
||||
var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue