We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Section 5 Borrowing managed boxes and rooting of the Borrowed Pointers tutorial says:
"A heap box that is unrooted is one such that no pointer values in the heap point to it."
Shouldn't this say:
"A heap box is unrooted if there are no owning (non-borrowed) pointers to it."
?
In the following example, isn't the Point rooted, even though there are "no pointer values in the heap" pointing to it?
Point
fn f() { let p = @Point { x: 42, y: 23 }; let y = &p.x // ... }
The text was updated successfully, but these errors were encountered:
part of #11755
Sorry, something went wrong.
This whole section is gone, since managed boxes are. It can be closed.
Auto merge of rust-lang#9596 - flip1995:rustup, r=flip1995
ac0e10a
Rustup r? `@ghost` changelog: none
No branches or pull requests
Section 5 Borrowing managed boxes and rooting of the Borrowed Pointers tutorial says:
"A heap box that is unrooted is one such that no pointer values in the heap point to it."
Shouldn't this say:
"A heap box is unrooted if there are no owning (non-borrowed) pointers to it."
?
In the following example, isn't the
Point
rooted, even though there are "no pointer values in the heap" pointing to it?The text was updated successfully, but these errors were encountered: