diff options
author | flywind <xzsflywind@gmail.com> | 2022-03-01 14:46:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 07:46:08 +0100 |
commit | d6d36093b18dfa1e2b8b6325016f1def015250b4 (patch) | |
tree | a5b4acd79bcaf5c6851e8bf3d6714d76d10ecd4c /lib | |
parent | 207237cec229171eafbd3357dcf128bdd270332a (diff) | |
download | Nim-d6d36093b18dfa1e2b8b6325016f1def015250b4.tar.gz |
apply changes from #18017 and some fixes (#19571)
* implements https://github.com/nim-lang/RFCs/issues/369 * deprecate unsafeAddr; extend addr addr is now available for all addressable locations, unsafeAddr is deprecated and become an alias for addr * follow @Vindaar's advice * change the signature of addr * unsafeAddr => addr (stdlib) * Update changelog.md * unsafeAddr => addr (tests) * Revert "unsafeAddr => addr (stdlib)" This reverts commit ab83c99c507048a8396e636bf22d55fdd84d7d1c. * doc changes; thanks to @konsumlamm Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * merge * remove * fix bug Co-authored-by: Araq <rumpf_a@web.de> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim index 56a6e2887..572768de2 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -202,9 +202,6 @@ proc `addr`*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} = ## ## Cannot be overloaded. ## - ## See also: - ## * `unsafeAddr <#unsafeAddr,T>`_ - ## ## .. code-block:: Nim ## var ## buf: seq[char] = @['a','b','c'] |