diff options
| author | Daniel Carral <dan@dcarral.org> | 2015-10-23 12:37:46 +0200 |
|---|---|---|
| committer | Daniel Carral <dan@dcarral.org> | 2015-10-23 12:37:46 +0200 |
| commit | 2e0e32f4eb06e9fd4d08c1d6be42d1ac47209c98 (patch) | |
| tree | 48d4d9487187113e4c6fe8ea228efbc0e2eb4776 | |
| parent | 3f37f5a443e3f0fa91b1787117cb89a0a8aa666d (diff) | |
| download | rust-2e0e32f4eb06e9fd4d08c1d6be42d1ac47209c98.tar.gz rust-2e0e32f4eb06e9fd4d08c1d6be42d1ac47209c98.zip | |
Add missing word to TRPL's 'The Heap' section
| -rw-r--r-- | src/doc/trpl/the-stack-and-the-heap.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/the-stack-and-the-heap.md b/src/doc/trpl/the-stack-and-the-heap.md index f2f9198d312..f30dacc485a 100644 --- a/src/doc/trpl/the-stack-and-the-heap.md +++ b/src/doc/trpl/the-stack-and-the-heap.md @@ -224,7 +224,7 @@ like this: | 1 | y | 42 | | 0 | x | → (2<sup>30</sup>) - 1 | -We have (2<sup>30</sup>) - 1 in our hypothetical computer with 1GB of RAM. And since +We have (2<sup>30</sup>) - 1 addresses in our hypothetical computer with 1GB of RAM. And since our stack grows from zero, the easiest place to allocate memory is from the other end. So our first value is at the highest place in memory. And the value of the struct at `x` has a [raw pointer][rawpointer] to the place we’ve |
