Section [5 Borrowing managed boxes and rooting](http://static.rust-lang.org/doc/master/tutorial-borrowed-ptr.html#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? ``` fn f() { let p = @Point { x: 42, y: 23 }; let y = &p.x // ... } ```
Activity
pnkfelix commentedon Jan 23, 2014
part of #11755
steveklabnik commentedon Jun 23, 2014
This whole section is gone, since managed boxes are. It can be closed.
Auto merge of rust-lang#9596 - flip1995:rustup, r=flip1995