Skip to content

Rollup of 6 pull requests #30126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Dec 1, 2015
Merged

Rollup of 6 pull requests #30126

merged 15 commits into from
Dec 1, 2015

Conversation

bhargavrpatel and others added 15 commits November 29, 2015 22:18
Made a small change in the sentence. It seemed confusing to read the word "actual" twice in the sentence; I removed it completely.
…hange

Change verbiage in Stack & Heap page
The `f` argument will reference the actual value in the `d` box, not the
box in the `bar`'s stack frame.
…teveklabnik

The `f` argument will reference the actual value in the `d` box, not the box in the `bar`'s stack frame.

I am just learning Rust, so I don't know how to explain this well, but just from `f`'s type it is clear that it will be a pointer to an `i32`, not a pointer to a pointer. Some `println!("{:p}", ...)`'s can easily confirm this.

I would actually suggest to remove/simplify this part of the example. This is a subtle issue that can easily confuse people at the early stages of familiarizing with the language. (As I got confused by it. :))
@steveklabnik
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Collaborator

bors commented Nov 30, 2015

📌 Commit 06df5d8 has been approved by steveklabnik

@steveklabnik steveklabnik assigned steveklabnik and unassigned brson Nov 30, 2015
@bors
Copy link
Collaborator

bors commented Dec 1, 2015

⌛ Testing commit 06df5d8 with merge 407e8b3...

bors added a commit that referenced this pull request Dec 1, 2015
@bors bors merged commit 06df5d8 into rust-lang:master Dec 1, 2015
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants