about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Carral <dan@dcarral.org>2015-10-23 12:37:46 +0200
committerDaniel Carral <dan@dcarral.org>2015-10-23 12:37:46 +0200
commit2e0e32f4eb06e9fd4d08c1d6be42d1ac47209c98 (patch)
tree48d4d9487187113e4c6fe8ea228efbc0e2eb4776
parent3f37f5a443e3f0fa91b1787117cb89a0a8aa666d (diff)
downloadrust-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.md2
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