-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typo in diagram demonstrating stack vs. heap values
- Loading branch information
1 parent
820b1d8
commit c7f9201
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c7f9201
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could someone please regenerate the docs?
in particular, http://doc.rust-lang.org/book/the-stack-and-the-heap.html ?
the online documentation still has this typo and it can be quite confusing and make you waste some time back and forth to be sure you read the page correctly and verify you are understanding the example.
fortunately I thought of trying to make a PR to fix what I thought could be a typo (and be corrected in case it was a mistake) and found this commit.
the advantage of getting stuck is that it means you are actually grasping the concept. :)
c7f9201
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation also follows the train model. The change is visible in the nightly docs: https://doc.rust-lang.org/nightly/book/the-stack-and-the-heap.html
But will not show up in the stable docs until the version this change is associated with is officially released.