summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-03-25 14:07:29 +0800
committerGitHub <noreply@github.com>2021-03-25 07:07:29 +0100
commit045400ad92f98363ef8931aea29165b48d07ac16 (patch)
tree64cb91ee7477142aef753a6b7dc40fb87c6fc58f /doc
parent76d391a512b53b731941d6b355fe3431fc6b74c1 (diff)
downloadNim-045400ad92f98363ef8931aea29165b48d07ac16.tar.gz
ref https://github.com/nim-lang/Nim/pull/17333 (#17495)
Diffstat (limited to 'doc')
-rw-r--r--doc/nep1.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/nep1.rst b/doc/nep1.rst
index 3bae6a00b..bdf8e0eab 100644
--- a/doc/nep1.rst
+++ b/doc/nep1.rst
@@ -157,7 +157,8 @@ English word            To use         Notes
 -------------------     ------------   --------------------------------------
 initialize              initFoo        initializes a value type `Foo`
 new                     newFoo         initializes a reference type `Foo`
-                                       via `new`
+                                       via `new` or a value type `Foo`
+                                       with reference semantics.
 this or self            self           for method like procs, e.g.:
                                        `proc fun(self: Foo, a: int)`
                                        rationale: `self` is more unique in English