summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-12-15 21:12:28 +0800
committerGitHub <noreply@github.com>2023-12-15 21:12:28 +0800
commit0c3e7039609deddd3567ce36c841b1c3f22f8fe7 (patch)
tree99bca79f5a41ca58f74ac8f60f9a7eee37fffe76 /doc
parent315b59e824fc8fc473439fb0cb23ff7ac61c0563 (diff)
downloadNim-0c3e7039609deddd3567ce36c841b1c3f22f8fe7.tar.gz
fixes not nil examples (#23080)
Diffstat (limited to 'doc')
-rw-r--r--doc/manual_experimental.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/manual_experimental.md b/doc/manual_experimental.md
index d20695933..f5e39b768 100644
--- a/doc/manual_experimental.md
+++ b/doc/manual_experimental.md
@@ -566,6 +566,7 @@ All types for which `nil` is a valid value can be annotated with the
   {.experimental: "notnil".}
 
   type
+    TObj = object
     PObject = ref TObj not nil
     TProc = (proc (x, y: int)) not nil