Skip to content

Commit 7de9c4e

Browse files
committed
Auto merge of #29247 - dcarral:missing_word_trpl, r=steveklabnik
I somehow missed a word behind the numbers while going through this section, don't know what the best approach would be though since "**available** addresses" sounds good to me, too".
2 parents bf7eec0 + 2e0e32f commit 7de9c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/the-stack-and-the-heap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ like this:
224224
| 1 | y | 42 |
225225
| 0 | x | → (2<sup>30</sup>) - 1 |
226226

227-
We have (2<sup>30</sup>) - 1 in our hypothetical computer with 1GB of RAM. And since
227+
We have (2<sup>30</sup>) - 1 addresses in our hypothetical computer with 1GB of RAM. And since
228228
our stack grows from zero, the easiest place to allocate memory is from the
229229
other end. So our first value is at the highest place in memory. And the value
230230
of the struct at `x` has a [raw pointer][rawpointer] to the place we’ve

0 commit comments

Comments
 (0)