about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRob Young <rob.young@digital.cabinet-office.gov.uk>2015-05-09 18:31:00 +0100
committerRob Young <rob.young@digital.cabinet-office.gov.uk>2015-05-09 18:31:00 +0100
commit978dc9f36a7ebd5c16100ab6cf6ee5f528ccf14a (patch)
treec9c957b14fd8ac5dbbc75dbc874709ca26529eec
parent67ba6dcf68860d8a20891faad88a33b35ed58df5 (diff)
downloadrust-978dc9f36a7ebd5c16100ab6cf6ee5f528ccf14a.tar.gz
rust-978dc9f36a7ebd5c16100ab6cf6ee5f528ccf14a.zip
Minor docs fix
Remove an rogue 'is' and fix some line wrapping.
-rw-r--r--src/doc/trpl/guessing-game.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md
index 57479a21e47..50767b603c4 100644
--- a/src/doc/trpl/guessing-game.md
+++ b/src/doc/trpl/guessing-game.md
@@ -131,7 +131,9 @@ prints a [string][strings] to the screen.
     let mut guess = String::new();
 ```
 
-Now we’re getting interesting! There’s a lot going on in this little line. The first thing to notice is that this is a [let statement][let], which is used to create ‘variable bindings’. They take this form:
+Now we’re getting interesting! There’s a lot going on in this little line.
+The first thing to notice is that this is a [let statement][let], which is
+used to create ‘variable bindings’. They take this form:
 
 ```rust,ignore
 let foo = bar;
@@ -171,7 +173,7 @@ bound to: `String::new()`.
 
 [string]: ../std/string/struct.String.html
 
-The `::new()` syntax is uses `::` because this is an ‘associated function’ of
+The `::new()` syntax uses `::` because this is an ‘associated function’ of
 a particular type. That is to say, it’s associated with `String` itself,
 rather than a particular instance of a `String`. Some languages call this a
 ‘static method’.