Skip to content

Commit

Permalink
Merge pull request #212 from michael-grunder/subject-verb-agreement
Browse files Browse the repository at this point in the history
Small subject verb agreement fix
  • Loading branch information
nrc authored Oct 5, 2024
2 parents a8aa8e6 + 3b92d06 commit 1665629
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 1665629

Please sign in to comment.