We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32e462e commit d90c166Copy full SHA for d90c166
src/doc/book/the-stack-and-the-heap.md
@@ -26,6 +26,8 @@ The stack is very fast, and is where memory is allocated in Rust by default.
26
But the allocation is local to a function call, and is limited in size. The
27
heap, on the other hand, is slower, and is explicitly allocated by your
28
program. But it’s effectively unlimited in size, and is globally accessible.
29
+Note this meaning of heap, which allocates arbitrary-sized blocks of memory in arbitrary
30
+order, is quite different from the heap data structure.
31
32
# The Stack
33
0 commit comments