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.
1 parent 4a327e0 commit 9dd5540Copy full SHA for 9dd5540
src/doc/book/references-and-borrowing.md
@@ -152,8 +152,8 @@ the thing `y` points at. You’ll notice that `x` had to be marked `mut` as well
152
If it wasn’t, we couldn’t take a mutable borrow to an immutable value.
153
154
You'll also notice we added an asterisk (`*`) in front of `y`, making it `*y`,
155
-this is because `y` is a `&mut` reference. You'll also need to use them for
156
-accessing the contents of a reference as well.
+this is because `y` is a `&mut` reference. You'll need to use astrisks to
+access the contents of a reference as well.
157
158
Otherwise, `&mut` references are like references. There _is_ a large
159
difference between the two, and how they interact, though. You can tell
0 commit comments