From 3b92d066ce9d2c6ec75de2f4537382b5fc6055ee Mon Sep 17 00:00:00 2001 From: michael-grunder <michael.grunder@gmail.com> Date: Fri, 23 Feb 2024 12:22:48 -0800 Subject: [PATCH] Small subject verbe agreement fix --- src/04_pinning/01_chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/04_pinning/01_chapter.md b/src/04_pinning/01_chapter.md index b169f993..6f4df34b 100644 --- a/src/04_pinning/01_chapter.md +++ b/src/04_pinning/01_chapter.md @@ -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