diff options
| author | Mihaly Barasz <klao@nilcons.com> | 2015-11-30 16:51:38 +0100 |
|---|---|---|
| committer | Mihaly Barasz <klao@nilcons.com> | 2015-11-30 16:51:38 +0100 |
| commit | 7728742a4482b489111d8ebbfbbb283eb6615137 (patch) | |
| tree | 0edf89a9449c7e4ae1d98b9d8d28a6491f59781b /src | |
| parent | fd2626cc3f5c3652b5a9b4d3b7f850ff2e8e8590 (diff) | |
Fix pointer value in the 'complex example'
The `f` argument will reference the actual value in the `d` box, not the box in the `bar`'s stack frame.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/the-stack-and-the-heap.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/the-stack-and-the-heap.md b/src/doc/book/the-stack-and-the-heap.md index 0c78f876aa0..3c4fb0fb865 100644 --- a/src/doc/book/the-stack-and-the-heap.md +++ b/src/doc/book/the-stack-and-the-heap.md @@ -464,7 +464,7 @@ At the end of `bar()`, it calls `baz()`: | (2<sup>30</sup>) - 2 | | 5 | | ... | ... | ... | | 12 | g | 100 | -| 11 | f | → 9 | +| 11 | f | → (2<sup>30</sup>) - 2 | | 10 | e | → 9 | | 9 | d | → (2<sup>30</sup>) - 2 | | 8 | c | 5 | |
