diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-07-04 07:37:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 07:37:24 +0200 |
commit | 1854d29781aff913ca6892cbf73df91b0399397e (patch) | |
tree | 4a71bc7988c753ef1acab28776edec691c6d27bd /doc/destructors.rst | |
parent | 695154970d839add2fbbe9754e9e638511120729 (diff) | |
download | Nim-1854d29781aff913ca6892cbf73df91b0399397e.tar.gz |
scoped memory management (#14790)
* fixes the regressions * closes #13936 * scope based memory management implemented * enabled tcontrolflow.nim test case * final cleanups
Diffstat (limited to 'doc/destructors.rst')
-rw-r--r-- | doc/destructors.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/destructors.rst b/doc/destructors.rst index b06d78bbe..4285bad8b 100644 --- a/doc/destructors.rst +++ b/doc/destructors.rst @@ -283,8 +283,8 @@ Rewrite rules around the complete routine body. 2. The produced ``finally`` section is wrapped around the enclosing scope. -The current implementation follows strategy (1). This means that resources are -not destroyed at the scope exit, but at the proc exit. +The current implementation follows strategy (2). This means that resources are +destroyed at the scope exit. :: |