summary refs log tree commit diff stats
path: root/doc/destructors.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/destructors.rst')
-rw-r--r--doc/destructors.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/destructors.rst b/doc/destructors.rst
index a9e25f6ec..f17bdadf7 100644
--- a/doc/destructors.rst
+++ b/doc/destructors.rst
@@ -326,7 +326,9 @@ not destroyed at the scope exit, but at the proc exit.
 
   f(...)
   ------------------------    (function-call)
-  (let tmp = f(...); tmp)
+  (let tmp;
+  bitwiseCopy tmp, f(...);
+  tmp)
   finally: `=destroy`(tmp)