book: fix a typo

This commit is contained in:
Kylo Ginsberg 2016-09-10 07:58:30 -07:00
parent a5f4cc527d
commit 38009bfa91

View file

@ -152,7 +152,7 @@ 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 need to use astrisks to
this is because `y` is a `&mut` reference. You'll need to use asterisks to
access the contents of a reference as well.
Otherwise, `&mut` references are like references. There _is_ a large