"also ... as well" is redundant

Also "to access" is cleaner than "for accessing"
This commit is contained in:
Jonathan Price 2016-06-27 16:52:39 -05:00 committed by GitHub
parent 4a327e0e14
commit 9dd5540540

View file

@ -152,8 +152,8 @@ the thing `y` points at. Youll notice that `x` had to be marked `mut` as well
If it wasnt, we couldnt take a mutable borrow to an immutable value.
You'll also notice we added an asterisk (`*`) in front of `y`, making it `*y`,
this is because `y` is a `&mut` reference. You'll also need to use them for
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.
Otherwise, `&mut` references are like references. There _is_ a large
difference between the two, and how they interact, though. You can tell