summary refs log tree commit diff stats
path: root/doc/tut1.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tut1.rst')
-rw-r--r--doc/tut1.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst
index be5cd8c11..6731efde9 100644
--- a/doc/tut1.rst
+++ b/doc/tut1.rst
@@ -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