about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-03-02 11:29:39 +0100
committerGitHub <noreply@github.com>2017-03-02 11:29:39 +0100
commite583b6a6051bb0160677b8e486af63fd331bd393 (patch)
treef1865c7cbb33a6e3509adf3e8e02f0ddae095cee
parent216a0ead4432fceaa3d75ff596210a0bdb6e3318 (diff)
parent9d99e126757ce4fd9f3278be98d87697cd5fcaeb (diff)
downloadrust-e583b6a6051bb0160677b8e486af63fd331bd393.tar.gz
rust-e583b6a6051bb0160677b8e486af63fd331bd393.zip
Rollup merge of #40170 - iKevinY:if-let-typo, r=frewsxcv
Fix link in `if let` docs

r? @steveklabnik
-rw-r--r--src/doc/book/src/if-let.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/src/if-let.md b/src/doc/book/src/if-let.md
index 17bf1369000..9eeac3d687e 100644
--- a/src/doc/book/src/if-let.md
+++ b/src/doc/book/src/if-let.md
@@ -1,6 +1,6 @@
 # if let
 
-`if let` permits [patterns][pattern] matching within the condition of an [if][if] statement.
+`if let` permits [patterns][patterns] matching within the condition of an [if][if] statement.
 This allows us to reduce the overhead of certain kinds of [pattern][patterns] matches
 and express them in a more convenient way.