We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6eb5b59 + 815bd7b commit 25a47ddCopy full SHA for 25a47dd
src/ch15-06-reference-cycles.md
@@ -231,7 +231,7 @@ We still have `leaf` as one of the children of `branch`. Once we have the
231
reference to its parent. We use the `borrow_mut` method on the
232
`RefCell<Weak<Node>>` in the `parent` field of `leaf`, and then we use the
233
`Rc::downgrade` function to create a `Weak<Node>` reference to `branch` from
234
-the `Rc<Node>` in `branch.`
+the `Rc<Node>` in `branch`.
235
236
When we print the parent of `leaf` again, this time we’ll get a `Some` variant
237
holding `branch`: now `leaf` can access its parent! When we print `leaf`, we
0 commit comments