summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorLi Jie <lijie@applean.cn>2016-11-05 00:22:51 -0700
committerLi Jie <lijie@applean.cn>2016-11-05 00:22:51 -0700
commit3989d8fa790e242b2a507950b417b518171ee840 (patch)
tree472e3362cac3f4c53dda0dcdd0fd2248eb335dfe /doc
parent33ebf3e5fb05f45abadeff4747ab0e3031f75dd0 (diff)
downloadNim-3989d8fa790e242b2a507950b417b518171ee840.tar.gz
typo
Diffstat (limited to 'doc')
-rw-r--r--doc/intern.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/intern.txt b/doc/intern.txt
index 05847169f..d0aaa283a 100644
--- a/doc/intern.txt
+++ b/doc/intern.txt
@@ -459,7 +459,7 @@ This should produce roughly this code:
     PEnv = ref object
       x: int # data
 
-  proc anon(y: int, c: PClosure): int =
+  proc anon(y: int, c: PEnv): int =
     return y + c.x
 
   proc add(x: int): tuple[prc, data] =