about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Price <jonmarkprice@users.noreply.github.com>2016-06-27 16:52:39 -0500
committerGitHub <noreply@github.com>2016-06-27 16:52:39 -0500
commit9dd554054034ec65e4a3ba4db127163dedd96743 (patch)
treecdf86264246b549538def4b39a2ba46295136efc
parent4a327e0e143a75e793033dbab4fb045b3655967e (diff)
downloadrust-9dd554054034ec65e4a3ba4db127163dedd96743.tar.gz
rust-9dd554054034ec65e4a3ba4db127163dedd96743.zip
"also ... as well" is redundant
Also "to access" is cleaner than "for accessing"
-rw-r--r--src/doc/book/references-and-borrowing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/book/references-and-borrowing.md b/src/doc/book/references-and-borrowing.md
index 8aa31c3691f..2b7aa339c0f 100644
--- a/src/doc/book/references-and-borrowing.md
+++ b/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
 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 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