We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2af3dd7 commit bb43f58Copy full SHA for bb43f58
src/doc/reference.md
@@ -3909,6 +3909,9 @@ The _heap_ is a general term that describes boxes. The lifetime of an
3909
allocation in the heap depends on the lifetime of the box values pointing to
3910
it. Since box values may themselves be passed in and out of frames, or stored
3911
in the heap, heap allocations may outlive the frame they are allocated within.
3912
+An allocation in the heap is guaranteed to reside at a single location in the
3913
+heap for the whole lifetime of the allocation - it will never be relocated as
3914
+a result of moving a box value.
3915
3916
### Memory ownership
3917
0 commit comments