about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYoshito Komatsu <ykomatsu@akaumigame.org>2015-10-21 22:17:23 +0900
committerYoshito Komatsu <ykomatsu@akaumigame.org>2015-10-21 22:17:23 +0900
commit55796c07b894d0ce20b87bfdd731b9b7f68affad (patch)
tree8cf16f6088e2beecc7b120cd5acb06cfa39413eb
parent26c14a488b0d0b039faf5684c7042ba48ff0cea8 (diff)
downloadrust-55796c07b894d0ce20b87bfdd731b9b7f68affad.tar.gz
rust-55796c07b894d0ce20b87bfdd731b9b7f68affad.zip
Fix some typos in TRPL
-rw-r--r--src/doc/trpl/error-handling.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/error-handling.md b/src/doc/trpl/error-handling.md
index d839e182092..994d92f1526 100644
--- a/src/doc/trpl/error-handling.md
+++ b/src/doc/trpl/error-handling.md
@@ -1545,7 +1545,7 @@ cargo build --release
 
 ## Argument parsing
 
-Let's get argument parsing out of the way. we won't go into too much
+Let's get argument parsing out of the way. We won't go into too much
 detail on Getopts, but there is [some good documentation][15]
 describing it. The short story is that Getopts generates an argument
 parser and a help message from a vector of options (The fact that it
@@ -1855,7 +1855,7 @@ In our program, we accept a single file for input and do one pass over the
 data. This means we probably should be able to accept input on stdin. But maybe
 we like the current format too—so let's have both!
 
-Adding support for stdin is actually quite easy. There are only two things we
+Adding support for stdin is actually quite easy. There are only three things we
 have to do:
 
 1. Tweak the program arguments so that a single parameter—the
@@ -2057,7 +2057,7 @@ so. This can be a little clumsy, especially if you intend for the program to
 be used in shell scripts.
 
 So let's start by adding the flags. Like before, we need to tweak the usage
-string and add a flag to the Option variable. Once were done that, Getopts does the rest:
+string and add a flag to the Option variable. Once we're done that, Getopts does the rest:
 
 ```rust,ignore
 ...