]> git.lizzy.rs Git - rust.git/commitdiff
Fix "the the" typo and split a run-on sentence
authorColin Wallace <wallacoloo@gmail.com>
Sun, 20 Sep 2015 02:50:42 +0000 (19:50 -0700)
committerColin Wallace <wallacoloo@gmail.com>
Wed, 7 Oct 2015 04:39:18 +0000 (21:39 -0700)
src/doc/trpl/patterns.md

index a365732fe9bd14c115654cb84eb115769b025508..3d22066c72574a96727b3258644cf0303337c505 100644 (file)
@@ -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 => ...