about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-04-14 13:41:31 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-04-14 13:41:31 -0400
commit6476a1e37844f6d1cd63914df616ae577fa6fc64 (patch)
tree8f55435901728cac0b1ea4455c3776351dca9bb3
parent8b6987aced84dc72b7cbb03580f0bf647c4336fc (diff)
mutability fixes
-rw-r--r--src/doc/trpl/structs.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/trpl/structs.md b/src/doc/trpl/structs.md
index 619c93852a4..83d5a15bc2c 100644
--- a/src/doc/trpl/structs.md
+++ b/src/doc/trpl/structs.md
@@ -55,8 +55,8 @@ fn main() {
 
 This will print `The point is at (5, 0)`.
 
-Rust does not support mutability at the field level, so you cannot write
-something like this:
+Rust does not support field mutability at the language level, so you cannot
+write something like this:
 
 ```rust,ignore
 struct Point {
@@ -82,8 +82,8 @@ fn main() {
 
     point.x = 5;
 
-    let point = point; // this new binding is immutable
+    let point = point; // this new binding can’t change now
 
-    point.y = 6; // this causes an error, because `point` is immutable!
+    point.y = 6; // this causes an error
 }
 ```