Skip to content

Commit 25a47dd

Browse files
authored
Merge pull request #4155 from WantenMN/typo
fix(typo): correct punctuation in ch15-06-reference-cycles.md
2 parents 6eb5b59 + 815bd7b commit 25a47dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch15-06-reference-cycles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ We still have `leaf` as one of the children of `branch`. Once we have the
231231
reference to its parent. We use the `borrow_mut` method on the
232232
`RefCell<Weak<Node>>` in the `parent` field of `leaf`, and then we use the
233233
`Rc::downgrade` function to create a `Weak<Node>` reference to `branch` from
234-
the `Rc<Node>` in `branch.`
234+
the `Rc<Node>` in `branch`.
235235

236236
When we print the parent of `leaf` again, this time we’ll get a `Some` variant
237237
holding `branch`: now `leaf` can access its parent! When we print `leaf`, we

0 commit comments

Comments
 (0)