about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKevin Yap <me@kevinyap.ca>2017-03-01 01:01:37 -0800
committerKevin Yap <me@kevinyap.ca>2017-03-01 01:01:37 -0800
commit9d99e126757ce4fd9f3278be98d87697cd5fcaeb (patch)
tree7c651eaa6d77f7ea3f50685241f16a2763363f2a /src
parent7ce1fbe1f7fe5cdbec57377d76306e2bc7811bce (diff)
downloadrust-9d99e126757ce4fd9f3278be98d87697cd5fcaeb.tar.gz
rust-9d99e126757ce4fd9f3278be98d87697cd5fcaeb.zip
Fix link in `if let` docs
Diffstat (limited to 'src')
-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.