about summary refs log tree commit diff
path: root/src/doc/trpl
diff options
context:
space:
mode:
authorFuGangqiang <fu_gangqiang@163.com>2015-05-31 18:16:58 +0800
committerFuGangqiang <fu_gangqiang@163.com>2015-05-31 18:16:58 +0800
commitbdef7faaba1f0e253115b222827b02e8b2ef97c7 (patch)
treea97992760a9830b0f47386730379714f406f6e30 /src/doc/trpl
parent93991f75555c5fdb48bc69480c78dd3ff9cc8dd5 (diff)
downloadrust-bdef7faaba1f0e253115b222827b02e8b2ef97c7.tar.gz
rust-bdef7faaba1f0e253115b222827b02e8b2ef97c7.zip
trpl:add missing comma
Diffstat (limited to 'src/doc/trpl')
-rw-r--r--src/doc/trpl/guessing-game.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md
index 41d4146c9ac..a599b8a855e 100644
--- a/src/doc/trpl/guessing-game.md
+++ b/src/doc/trpl/guessing-game.md
@@ -38,7 +38,7 @@ Finally, Cargo generated a ‘Hello, world!’ for us. Check out `src/main.rs`:
 
 ```rust
 fn main() {
-    println!("Hello, world!")
+    println!("Hello, world!");
 }
 ```
 
@@ -362,7 +362,7 @@ everything that follows it is part of it, until the next section starts.
 Cargo uses the dependencies section to know what dependencies on external
 crates you have, and what versions you require. In this case, we’ve used version `0.3.0`.
 Cargo understands [Semantic Versioning][semver], which is a standard for writing version
-numbers. If we wanted to use the latest version we could use `*` or we could use a range 
+numbers. If we wanted to use the latest version we could use `*` or we could use a range
 of versions. [Cargo’s documentation][cargodoc] contains more details.
 
 [semver]: http://semver.org