about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRuby <hi@ruby.sh>2015-08-06 19:55:53 +0100
committerRuby <hi@ruby.sh>2015-08-06 19:55:53 +0100
commitd3e089f08bd55fc5e663400f513f77e567636628 (patch)
tree2a339f50c184272e59f2e9e6c59e1393d197fe7a /src
parent855f1ff3215e76d438783d8bdf743d6cb641ff89 (diff)
downloadrust-d3e089f08bd55fc5e663400f513f77e567636628.tar.gz
rust-d3e089f08bd55fc5e663400f513f77e567636628.zip
fixed the few nits!
Diffstat (limited to 'src')
-rw-r--r--src/doc/trpl/references-and-borrowing.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/references-and-borrowing.md b/src/doc/trpl/references-and-borrowing.md
index 1709ac8f26b..a7a77539f79 100644
--- a/src/doc/trpl/references-and-borrowing.md
+++ b/src/doc/trpl/references-and-borrowing.md
@@ -125,9 +125,9 @@ This will print `6`. We make `y` a mutable reference to `x`, then add one to
 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 an `&mut` reference. You'll also need to use them for
-accessing and modifying `&` references as well.
+You'll also notice we added an asterisk (`*`) in front of `y`, making it `*y`,
+this is because `y` is an `&mut` reference. You'll also need to use them for
+accessing the contents of a reference as well.
 
 Otherwise, `&mut` references are just like references. There _is_ a large
 difference between the two, and how they interact, though. You can tell