summary refs log tree commit diff stats
path: root/doc/destructors.rst
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-07-04 07:37:24 +0200
committerGitHub <noreply@github.com>2020-07-04 07:37:24 +0200
commit1854d29781aff913ca6892cbf73df91b0399397e (patch)
tree4a71bc7988c753ef1acab28776edec691c6d27bd /doc/destructors.rst
parent695154970d839add2fbbe9754e9e638511120729 (diff)
downloadNim-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.rst4
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.
 
 ::
 
6'>156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245