-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
rust-lang/rust
#96933Milestone
Description
- I have checked the latest
mainbranch to see if this has already been fixed - I have searched existing issues and pull requests for duplicates
URL to the section(s) of the book with this problem:
https://doc.rust-lang.org/book/ch15-06-reference-cycles.html
Description of the problem:
The second element in the
Consvariant is nowRefCell<Rc<List>>, meaning that instead of having the ability to modify thei32value as we did in Listing 15-24, we want to modify whichListvalue aConsvariant is pointing to.
The phrase highlighted "which List value" sounds a bit odd.
Suggested fix:
... we want to modify the List value a Cons variant is pointing to.
Metadata
Metadata
Assignees
Labels
No labels