Skip to content

Commit

Permalink
Small subject verbe agreement fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-grunder committed Feb 23, 2024
1 parent ed022fc commit 3b92d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/04_pinning/01_chapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Test {
```

`Test` provides methods to get a reference to the value of the fields `a` and `b`. Since `b` is a
reference to `a` we store it as a pointer since the borrowing rules of Rust doesn't allow us to
reference to `a` we store it as a pointer since the borrowing rules of Rust don't allow us to
define this lifetime. We now have what we call a self-referential struct.

Our example works fine if we don't move any of our data around as you can observe by running
Expand Down

0 comments on commit 3b92d06

Please sign in to comment.