diff options
author | flywind <xzsflywind@gmail.com> | 2021-08-22 12:21:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-22 06:21:53 +0200 |
commit | 061a9183f7b49289b05cf134893d703760f467a7 (patch) | |
tree | 8e01a93fc389b60f51738a8e5755e12d2f943bba /lib/core | |
parent | 5b26f2bd81d6fc7d48befbfb4fa3317f713af787 (diff) | |
download | Nim-061a9183f7b49289b05cf134893d703760f467a7.tar.gz |
replace wrt with proper word (#18724)
* what does wrt mean? * clarify
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/macros.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index d3eaf6298..645f5067a 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -442,9 +442,11 @@ proc ident*(name: string): NimNode {.magic: "StrToIdent", noSideEffect.} ## Create a new ident node from a string. type - BindSymRule* = enum ## specifies how `bindSym` behaves + BindSymRule* = enum ## Specifies how `bindSym` behaves. The difference + ## between open and closed symbols can be found in + ## `<manual.html#symbol-lookup-in-generics-open-and-closed-symbols>`_ brClosed, ## only the symbols in current scope are bound - brOpen, ## open wrt overloaded symbols, but may be a single + brOpen, ## open for overloaded symbols, but may be a single ## symbol if not ambiguous (the rules match that of ## binding in generics) brForceOpen ## same as brOpen, but it will always be open even |