about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKylo Ginsberg <kylo@puppet.com>2016-09-10 07:58:30 -0700
committerKylo Ginsberg <kylo@puppet.com>2016-09-10 07:58:30 -0700
commit38009bfa91d9e928babb03e749b33b2476288227 (patch)
tree4f3593f5a56a95678a135e7516ef85a61a08db29
parenta5f4cc527de4230359c81799852f6bc770eba0e6 (diff)
downloadrust-38009bfa91d9e928babb03e749b33b2476288227.tar.gz
rust-38009bfa91d9e928babb03e749b33b2476288227.zip
book: fix a typo
-rw-r--r--src/doc/book/references-and-borrowing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/references-and-borrowing.md b/src/doc/book/references-and-borrowing.md
index 57bfbce8b84..2ec3a00c0df 100644
--- a/src/doc/book/references-and-borrowing.md
+++ b/src/doc/book/references-and-borrowing.md
@@ -152,7 +152,7 @@ the thing `y` points at. You’ll notice that `x` had to be marked `mut` as well
 If it wasn’t, we couldn’t 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