about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-10-07 18:18:37 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-10-07 18:18:37 -0400
commit94755b291ad6a617c7ec845302de206bed4a723f (patch)
treeb54e994338412538299cf71498925367a5cf2164
parent5470a1c975b2a38a32289ffcdc64314f01ee1510 (diff)
parent4119fc27498dba51d0233f0496ff8d03036ee350 (diff)
downloadrust-94755b291ad6a617c7ec845302de206bed4a723f.tar.gz
rust-94755b291ad6a617c7ec845302de206bed4a723f.zip
Rollup merge of #28880 - Wallacoloo:book-5.14-typo, r=alexcrichton
The diff can hopefully speak for itself. Regardless: this chapter of the book contained a sentence where "the" was mistakenly repeated twice. In this same section, there was a comma separating two sentences where a period should have been. This PR fixes both issues.
-rw-r--r--src/doc/trpl/patterns.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/patterns.md b/src/doc/trpl/patterns.md
index a365732fe9b..3d22066c725 100644
--- a/src/doc/trpl/patterns.md
+++ b/src/doc/trpl/patterns.md
@@ -299,7 +299,7 @@ match x {
 ```
 
 This prints `no`, because the `if` applies to the whole of `4 | 5`, and not to
-just the `5`, In other words, the the precedence of `if` behaves like this:
+just the `5`. In other words, the precedence of `if` behaves like this:
 
 ```text
 (4 | 5) if y => ...