Skip to content

Commit

Permalink
Auto merge of #25761 - ralexstokes:master, r=steveklabnik
Browse files Browse the repository at this point in the history
Typo in explanation of difference between stack and heap values.  

`baz` is called at the end of a call to `bar` inside another call to `foo`.  `baz` takes a copy of the value `e` which should have a value of 9 if following the rest of the stack trace.

This PR fixes this typo and should close #25635.
  • Loading branch information
bors committed May 25, 2015
2 parents 0d64659 + c7f9201 commit e9005fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/the-stack-and-the-heap.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ At the end of `bar()`, it calls `baz()`:
| (2<sup>30</sup>) - 1 | | 5 |
| ... | ... | ... |
| 12 | g | 100 |
| 11 | f | 4 |
| 11 | f | 9 |
| 10 | e | 9 |
| 9 | d | (2<sup>30</sup>) - 1 |
| 8 | c | 5 |
Expand Down

0 comments on commit e9005fb

Please sign in to comment.